# You should have received a copy of the GNU General Public License
# along with IPyPBX. If not, see <http://www.gnu.org/licenses/>.
+from ipypbx import main
+
+_tables = (
+ 'connection', 'sipprofile', 'domain', 'gateway', 'endpoint',
+ 'extension')
+
+db = None
+
+from ipypbx.tests.test_http import *
+
+
+def setUp():
+ global db
+ db, _created = main.setupDb(dbname=':memory:')