def setUp(self): """ This runs before each test """ reset_counters() self.app = app.test_client()
def setUp(self): """ This runs before each test """ self.app = app.test_client()
def setUp(self): """ Runs before each test """ db.drop_all() # clean up the last tests db.create_all() # create new tables self.app = app.test_client()