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