There's no need to have several loggers so we return the same one on each call.
(self)
| 170 | assert isinstance(f(), ReturnLogger) |
| 171 | |
| 172 | def test_caches(self): |
| 173 | """ |
| 174 | There's no need to have several loggers so we return the same one on |
| 175 | each call. |
| 176 | """ |
| 177 | f = ReturnLoggerFactory() |
| 178 | |
| 179 | assert f() is f() |
| 180 | |
| 181 | def test_ignores_args(self): |
| 182 | """ |
nothing calls this directly
no test coverage detected