Skip to content

Commit

Permalink
Tests @ 99%
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp-noaa committed Jan 7, 2025
1 parent 69a9974 commit b83fd13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uwtools/tests/config/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,13 @@ def test_validate_external(assets, config, schema):

def test_prep_config_cfgobj(prep_config_dict):
cfgobj = validator._prep_config(config=YAMLConfig(config=prep_config_dict))
assert isinstance(cfgobj, YAMLConfig)
assert isinstance(cfgobj, dict)
assert cfgobj == {"roses": "red", "color": "red"}


def test__prep_config_dict(prep_config_dict):
cfgobj = validator._prep_config(config=prep_config_dict)
assert isinstance(cfgobj, YAMLConfig)
assert isinstance(cfgobj, dict)
assert cfgobj == {"roses": "red", "color": "red"}


Expand All @@ -232,7 +232,7 @@ def test__prep_config_file(prep_config_dict, tmp_path):
with open(path, "w", encoding="utf-8") as f:
yaml.dump(prep_config_dict, f)
cfgobj = validator._prep_config(config=path)
assert isinstance(cfgobj, YAMLConfig)
assert isinstance(cfgobj, dict)
assert cfgobj == {"roses": "red", "color": "red"}


Expand Down

0 comments on commit b83fd13

Please sign in to comment.