Closed greenape closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.30%. Comparing base (
b3a93b4
) to head (0df9736
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
![]() |
![]() |
![]() |
![]() |
![]() |
Details:
Use reduced subset where possible | |||
Project: FlowAuth | Commit: 0df973660c |
||
Status: Passed | Duration: 00:51 💡 | ||
Started: Jun 13, 2024 8:55 AM | Ended: Jun 13, 2024 8:56 AM |
I have:
Description
Makes a couple of changes to the tests for the
Displacement
class, which speed up the tests substantially. Namely, storing the reused reference location, and supplying a subscriber subset.Summary:
Optimized
Displacement
class tests by caching reference locations and limiting data scope, with modifications to specific tests and methods.Key points:
Displacement
class tests by caching reference locations and limiting data scope.test_get_all_users_in_reference_location
andtest_subscriber_with_home_loc_but_no_calls_is_nan
inflowmachine/tests/test_displacement.py
.store()
method to cachedaily_location
results.subscriber_subset
to limit data scope in tests.Generated with :heart: by ellipsis.dev