diff options
| author | Max Nanis | 2026-09-03 09:26:17 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-03 09:26:17 -0700 |
| commit | 1151b332279425e4e088bd3499c76e582f7f045d (patch) | |
| tree | c4098976eaaed187cb7a2eca388c805b70986efc /tests/managers/thl/test_userhealth.py | |
| parent | 17ff15c06655717627da820417337c6b0b97de42 (diff) | |
| download | generalresearch-1151b332279425e4e088bd3499c76e582f7f045d.tar.gz generalresearch-1151b332279425e4e088bd3499c76e582f7f045d.zip | |
Test cleanup all morning. mangers/thl = 78fail, 417passed
Diffstat (limited to 'tests/managers/thl/test_userhealth.py')
| -rw-r--r-- | tests/managers/thl/test_userhealth.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/managers/thl/test_userhealth.py b/tests/managers/thl/test_userhealth.py index ce6c221..a86361a 100644 --- a/tests/managers/thl/test_userhealth.py +++ b/tests/managers/thl/test_userhealth.py @@ -241,10 +241,9 @@ class TestIPRecordManager: ip_record_manager: IPRecordManager, user: User, ip_information: IPInformation, + ip_record_factory: Callable[..., IPRecord], ): - instance = ip_record_manager.create_dummy( - user_id=user.user_id, ip=ip_information.ip - ) + instance = ip_record_factory(user_id=user.user_id, ip=ip_information.ip) assert isinstance(instance, IPRecord) assert isinstance(instance.forwarded_ips, list) |
