def testCheckGoodTable(self): good_table = exercises.check_if_table_exists('Exercises', self.c) self.assertIsNotNone(good_table)
def testCheckBadTable(self): bad_table = exercises.check_if_table_exists('nope', self.c) self.assertIsNone(bad_table)