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
Ejemplo n.º 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)
 def setUp(self):
     mox.MoxTestBase.setUp(self)
     app = tiny_classified.get_app()
     app.debug = True
     self.orig_app = app
     self.app = app.test_client()