mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 19:35:06 +00:00
refactor(tests): drop leading underscores from test helper functions
Completes the core underscore sweep for the test files this branch added; make_ctx/make_track/seg_urls avoid shadowing locals.
This commit is contained in:
@@ -13,7 +13,7 @@ requests_downloader = importlib.import_module("unshackle.core.downloaders.reques
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _clean_cancel():
|
||||
def clean_cancel():
|
||||
# a failing batch sets the process-global cancel, which TokenBucket.consume waits on;
|
||||
# keep tests independent
|
||||
DOWNLOAD_CANCELLED.clear()
|
||||
|
||||
Reference in New Issue
Block a user