def setUp(self): # Populate test entities. entity = modules.tarsusaUser(name='Bar') self.setup_key = entity.put() NewtarsusaItem = modules.tarsusaItem(name="Item", done=False, routine="none", usermodel=entity) NewtarsusaItem.put() NewtarsusaItem2 = modules.tarsusaItem(name="Item", done=False, routine="none", usermodel=entity) NewtarsusaItem2.put() logging.info("user:"******"Item:" + str(NewtarsusaItem.key().id())) logging.info("Item2:" + str(NewtarsusaItem2.key().id()))
def setUp(self): # Populate test entities. entity = tarsusaUser(name='Bar') self.setup_key = entity.put() NewtarsusaItem = tarsusaItem(name="Item", done=False, routine="none", usermodel=entity) NewtarsusaItem.put()