Skip to content

Commit e8873e7

Browse files
committed
✅(backends) fix test pollution caused by lrs backends cache
Clearing the cache after the loader test to ensure isolation and avoid a test in `test_cli_usage` failing.
1 parent a560e3f commit e8873e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/backends/test_loader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,4 @@ def mock_entry_points(group):
200200
"fs": FSLRSBackend,
201201
"mongo": MongoLRSBackend,
202202
}
203+
get_lrs_backends.cache_clear()

0 commit comments

Comments
 (0)