Skip to content

Commit

Permalink
delete the outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Apr 3, 2024
1 parent 70809a0 commit 7b0028a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,6 @@ def test_error_thrown_if_schema_does_not_match_yaml(nested_config_yaml: Path) ->
with pytest.raises(InvalidConfigError):
loader.load()


def test_example_config_yaml_gives_same_config_as_model(default_yaml: Path):
loader = ConfigLoader(ApplicationConfig)
default_config = loader.load()

loader.use_values_from_yaml(default_yaml)
yaml_config = loader.load()

assert default_config == yaml_config


@mock.patch.dict(os.environ, {"FOO": "bar"}, clear=True)
def test_auth_from_env():
auth = BasicAuthentication(username="${FOO}", passcode="baz")
Expand Down

0 comments on commit 7b0028a

Please sign in to comment.