def test_humanize_type(self): self.assertEqual(humanize_type('worker-offline'), 'shutdown') self.assertEqual(humanize_type('task-started'), 'task started')
def test_humanize_type(self): assert humanize_type('worker-offline') == 'shutdown' assert humanize_type('task-started') == 'task started'
def test_humanize_type(self): self.assertEqual(humanize_type("worker-offline"), "shutdown") self.assertEqual(humanize_type("task-started"), "task started")