(self)
| 344 | |
| 345 | |
| 346 | def test_two_args_call(self): |
| 347 | args = _Call(((1, 2), {'a': 3}), two=True) |
| 348 | self.assertEqual(len(args), 2) |
| 349 | self.assertEqual(args[0], (1, 2)) |
| 350 | self.assertEqual(args[1], {'a': 3}) |
| 351 | |
| 352 | other_args = _Call(((1, 2), {'a': 3})) |
| 353 | self.assertEqual(args, other_args) |
| 354 | |
| 355 | def test_call_with_name(self): |
| 356 | self.assertEqual(_Call((), 'foo')[0], 'foo') |
nothing calls this directly
no test coverage detected