forked from 3wordchant/capsul-flask
getting unit tests to log properly
This commit is contained in:
@ -23,10 +23,10 @@ class BaseTestCase(TestCase):
|
||||
return self.app
|
||||
|
||||
def setUp(self):
|
||||
mylog_info(self.app, f"setting up {self.id()}")
|
||||
set_mylog_test_id(self.id())
|
||||
|
||||
def tearDown(self):
|
||||
mylog_info(self.app, f"tearing down {self.id()}")
|
||||
set_mylog_test_id("")
|
||||
|
||||
def _login(self, user_email):
|
||||
get_model().login(user_email)
|
||||
|
Reference in New Issue
Block a user