def test_task_id_eq(self): self.assertTrue(task_id_eq('A', {'id': 'A'}, Mock())) self.assertFalse(task_id_eq('A', {'id': 'B'}, Mock()))
def test_task_id_eq(): assert task_id_eq('A', {'id': 'A'}, Mock()) assert not task_id_eq('A', {'id': 'B'}, Mock())
def test_task_id_eq(): assert task_id_eq("A", {"id": "A"}, Mock()) assert not task_id_eq("A", {"id": "B"}, Mock())