def test_twee(self): g = Garage() g.name = "test1" g.brande = "Patat" g.note = """ Testing note for multi line hueaah""" g.put() self.assertEqual(2, Garage.query().count(), "No you suck")
def test_datastore(self): """ start with test_ to get function started """ g = Garage() g.name = "test2222" g.brande = "Volvo" g.note = """ Testing note for multi line hueaah""" print str(g.id) g.put() self.assertEqual(1, Garage.query().count()) # yay success