示例#1
0
    def setUp(self):
        self._loaded_fixtures = [self._makeOne() for i in range(3)]
        models.ScopedSession.flush()

        self.config = testing.setUp()
        app = httpd.main(ConfigStub(), global_engine)
        self.testapp = TestApp(app)
示例#2
0
    def setUp(self):
        self._loaded_fixtures = [self._makeOne() for i in range(3)]
        models.ScopedSession.flush()

        self.config = testing.setUp()
        app = httpd.main(ConfigStub(), global_engine)
        self.testapp = TestApp(app)
示例#3
0
 def setUp(self):
     self.config = testing.setUp()
     app = httpd.main(ConfigStub(), global_engine)
     self.testapp = TestApp(app)
示例#4
0
 def setUp(self):
     self.config = testing.setUp()
     app = httpd.main(ConfigStub(), global_engine)
     self.testapp = TestApp(app)