예제 #1
0
 def test_01_repr(self):
   """job: displays correctly?"""
   i = mock_incall()
   j = job()
   j.setup(i)
   r = repr(j)
   assert JOB_REPR.match(r)
예제 #2
0
 def test_00_instantiate(self):
   """job: create job?"""
   i = mock_incall()
   j = job()
   j.setup(i)