(self, cls, canary=None)
| 44 | run_inserts = None |
| 45 | |
| 46 | def load_tracker(self, cls, canary=None): |
| 47 | if canary is None: |
| 48 | |
| 49 | def canary(instance, *args): |
| 50 | canary.called += 1 |
| 51 | |
| 52 | canary.called = 0 |
| 53 | |
| 54 | event.listen(cls, "load", canary) |
| 55 | |
| 56 | return canary |
| 57 | |
| 58 | def test_loader_options(self): |
| 59 | User, Address, addresses, users = ( |
no test coverage detected