mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-16 05:55:09 +00:00
refactor(core)!: drop leading underscores from internal definitions
Renames 314 defs and 41 module/class-level constants. Keeps 11 names underscored where the stripped form collides in scope, plus 5.5.0 shims for the three symbols external service repos call.
This commit is contained in:
@@ -35,7 +35,7 @@ class FakeProvider(MetadataProvider):
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _disabled(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
def disabled(monkeypatch: pytest.MonkeyPatch) -> None:
|
||||
"""Turn metadata off and keep every test off the network."""
|
||||
monkeypatch.setattr(config, "disable_metadata", True)
|
||||
monkeypatch.setattr(config, "metadata_providers", [])
|
||||
|
||||
Reference in New Issue
Block a user