| 91 | pass |
| 92 | |
| 93 | class FakeContext: |
| 94 | def __enter__(self): |
| 95 | return FakeDb() |
| 96 | |
| 97 | def __exit__(self, exc_type, exc, tb): |
| 98 | return False |
| 99 | |
| 100 | monkeypatch.setattr(registration, "get_db", lambda: FakeContext()) |
| 101 | monkeypatch.setattr(registration.crud, "create_registration_task", lambda db, task_uuid, proxy: None) |
no outgoing calls