def test_swap_fields_inexistent(self): try: breezedb.swap_fields(10, 1, table, db) self.assertEquals(False, True) except: self.assertTrue(True, True)
def test_swap_fields(self): breezedb.swap_fields(0, 1, table, db)