def test_get_field_list_inexistent(self): try: result = breezedb.get_field_list('table_1123', db) self.assertEquals(False, True) except: self.assertTrue(True, True)
def test_get_field_list(self): result = breezedb.get_field_list('table_1', db) self.assertEquals([{u'id': u'int'}, {u'name': u'str'}, {u'name2': u'str'}], result)