(self)
| 106 | self.assertEqual(func_container(), (('foo',), {'bar': 'baz'})) |
| 107 | |
| 108 | def test_repr(self): |
| 109 | func_container = FunctionContainer( |
| 110 | self.get_args_kwargs, 'foo', bar='baz' |
| 111 | ) |
| 112 | self.assertEqual( |
| 113 | str(func_container), |
| 114 | 'Function: {} with args {} and kwargs {}'.format( |
| 115 | self.get_args_kwargs, ('foo',), {'bar': 'baz'} |
| 116 | ), |
| 117 | ) |
| 118 | |
| 119 | |
| 120 | class TestCountCallbackInvoker(unittest.TestCase): |
nothing calls this directly
no test coverage detected