예제 #1
0
 def test_humanize_type(self):
     self.assertEqual(humanize_type('worker-offline'), 'shutdown')
     self.assertEqual(humanize_type('task-started'), 'task started')
예제 #2
0
 def test_humanize_type(self):
     assert humanize_type('worker-offline') == 'shutdown'
     assert humanize_type('task-started') == 'task started'
예제 #3
0
 def test_humanize_type(self):
     self.assertEqual(humanize_type("worker-offline"), "shutdown")
     self.assertEqual(humanize_type("task-started"), "task started")
예제 #4
0
 def test_humanize_type(self):
     assert humanize_type('worker-offline') == 'shutdown'
     assert humanize_type('task-started') == 'task started'
예제 #5
0
 def test_humanize_type(self):
     self.assertEqual(humanize_type("worker-offline"), "shutdown")
     self.assertEqual(humanize_type("task-started"), "task started")