Esempio n. 1
0
 def test_getallAtLeastOne(self):
     totals = Totals()
     alltotals = totals.get_all()
     self.assertGreater(len(alltotals), 0)
Esempio n. 2
0
def admin_api_totals():
    t = Totals()
    return json.dumps(t.get_all_rows())