Exemplo n.º 1
0
	def test_isolation(self):
		machine = Machine(name='Chainsaw', type="test_machine")
		machine.put()
		self.assertEqual(Machine.all().count(), 1)
Exemplo n.º 2
0
	def test_machine_requires_name(self):
		machine = Machine()
		machine.put()
Exemplo n.º 3
0
	def test_isolation_again(self):
		machine = Machine(name='Tesla Coil', type='test_machine')
		machine.put()
		self.assertEqual(Machine.all().count(), 1)
Exemplo n.º 4
0
 def test_machine_requires_name(self):
     machine = Machine()
     machine.put()