Skip to content

Commit

Permalink
Remove unused config_override fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Feb 8, 2024
1 parent 4b2f80f commit 66aefe6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,9 @@ def connections_cache_ttl() -> float:
return 1.0


@pytest.fixture
def config_override() -> dict:
"""Parameterizable fixture to allow per-test config overrides."""
return {}


@pytest.fixture
def base_config(
configured_oidc_providers, zk_client, memoizer_config, connections_cache_ttl, config_override: dict
) -> AggregatorConfig:
def base_config(configured_oidc_providers, zk_client, memoizer_config, connections_cache_ttl) -> AggregatorConfig:
"""Base config for tests (without any configured backends)."""
conf = AggregatorConfig()
conf.config_source = "test fixture base_config"
Expand All @@ -134,7 +127,6 @@ def base_config(
"zk_client": zk_client,
}

conf.update(config_override)

return conf

Expand Down

0 comments on commit 66aefe6

Please sign in to comment.