def setUp(self):
     self.app1 = test_apps.create_app(
         self._get_db_interface(), 'testapp1', '__test-db__')
     self.app2 = test_apps.create_app(
         self._get_db_interface(), 'testapp2', '__test-db__')
     self.app3 = test_apps.create_app(
         self._get_db_interface(), 'testapp3', '__another-test-db__')
     self.client1 = self.app1.test_client()
     self.client2 = self.app2.test_client()
     self.client3 = self.app3.test_client()
Example #2
0
 def setUp(self):
     self.app1 = test_apps.create_app(self._get_db_interface(), 'testapp1',
                                      '__test-db__')
     self.app2 = test_apps.create_app(self._get_db_interface(), 'testapp2',
                                      '__test-db__')
     self.app3 = test_apps.create_app(self._get_db_interface(), 'testapp3',
                                      '__another-test-db__')
     self.client1 = self.app1.test_client()
     self.client2 = self.app2.test_client()
     self.client3 = self.app3.test_client()
 def setUp(self):
     self.app = test_apps.create_app(self._get_db_interface())
     self.client = self.app.test_client()
Example #4
0
 def setUp(self):
     self.app = test_apps.create_app(self._get_db_interface())
     self.client = self.app.test_client()