コード例 #1
0
 def setUp(self):
     mox.MoxTestBase.setUp(self)
     app = tiny_classified.get_app()
     app.debug = True
     self.app = app.test_client()
     with self.app.session_transaction() as sess:
         sess[util.SESS_EMAIL] = TEST_EMAIL
コード例 #2
0
 def setUp(self):
     mox.MoxTestBase.setUp(self)
     app = tiny_classified.get_app()
     app.debug = True
     self.app = app.test_client()
     self.user = copy.deepcopy(TEST_USER)
コード例 #3
0
 def setUp(self):
     mox.MoxTestBase.setUp(self)
     app = tiny_classified.get_app()
     app.debug = True
     self.orig_app = app
     self.app = app.test_client()