def testInsertEntity(self): act = Action() act.phrase = 'test phrase' act.put() self.assertEquals(1, len(Action.query().fetch(2)))