projects
/
ipypbx
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding support for DB access from unit tests
[ipypbx]
/
src
/
ipypbx
/
tests
/
test_http.py
diff --git
a/src/ipypbx/tests/test_http.py
b/src/ipypbx/tests/test_http.py
index
47251c2
..
180b124
100644
(file)
--- a/
src/ipypbx/tests/test_http.py
+++ b/
src/ipypbx/tests/test_http.py
@@
-17,6
+17,7
@@
import unittest
from ipypbx import http
import unittest
from ipypbx import http
+from ipypbx.tests import support
class TestHttpRequestParser(unittest.TestCase):
class TestHttpRequestParser(unittest.TestCase):
@@
-124,3
+125,6
@@
class TestHttpRequestParser(unittest.TestCase):
'Only post requests work')
'Only post requests work')
+class TestFreeswitchConfigGenerator(support.InitDatabase, unittest.TestCase):
+ def test_foo(self):
+ print self.db