Adding support for DB access from unit tests
[ipypbx] / src / ipypbx / tests / test_http.py
index 47251c2..180b124 100644 (file)
@@ -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