def test_find_all_returns_empty(self): rows = Store.find_all(store_id="") self.assertTrue(list, type(rows)) self.assertEqual(0, len(rows))
def test_to_dict(self): row = Store.find_all()[0] data = row.to_dict() self.assertTrue(dict, type(row))
def test_find_all(self): rows = Store.find_all() self.assertTrue(list, type(rows)) self.assertEqual(5, len(rows))