Пример #1
0
class ExampleModuleTest(ts_test_framework.TeamStoriesTest):
	def setUp(self):
		self.em = ExampleModule()
		
	def test_identityReturnsInts(self):
		self.assertEqual(1, self.em.identity(1))
		
	def test_identifyDoesntModifyInts(self):
		self.assertNotEqual(3, self.em.identity(4))
Пример #2
0
	def setUp(self):
		self.em = ExampleModule()