(self)
| 138 | assert SIG.subtask_type == '' |
| 139 | |
| 140 | def test_call(self): |
| 141 | x = Signature('foo', (1, 2), {'arg1': 33}, app=self.app) |
| 142 | x.type = Mock(name='type') |
| 143 | x(3, 4, arg2=66) |
| 144 | x.type.assert_called_with(3, 4, 1, 2, arg1=33, arg2=66) |
| 145 | |
| 146 | def test_link_on_scalar(self): |
| 147 | x = Signature('TASK', link=Signature('B')) |