示例#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")