Пример #1
0
	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()))
Пример #2
0
    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()
Пример #3
0
    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()
Пример #4
0
    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()))