(self)
| 1003 | assert task_kwargs.get(arg_name) == arg_value |
| 1004 | |
| 1005 | def test_incomplete_task_cls(self): |
| 1006 | |
| 1007 | class IncompleteTask(Task): |
| 1008 | app = self.app |
| 1009 | name = 'c.unittest.t.itask' |
| 1010 | |
| 1011 | with pytest.raises(NotImplementedError): |
| 1012 | IncompleteTask().run() |
| 1013 | |
| 1014 | def test_task_kwargs_must_be_dictionary(self): |
| 1015 | with pytest.raises(TypeError): |
nothing calls this directly
no test coverage detected