Skip to content

Commit eda3225

Browse files
committed
Test fixes
1 parent 3e8028c commit eda3225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uwtools/tests/drivers/test_cdeps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_CDEPS_nml(caplog, driverobj, group):
6161
log.setLevel(logging.DEBUG)
6262
dst = driverobj.rundir / f"d{group}_in"
6363
assert not dst.is_file()
64-
del driverobj._config[f"{group}_in"]["base_file"]
64+
del driverobj._config[f"d{group}"]["base_file"]
6565
task = getattr(driverobj, f"{group}_nml")
6666
path = Path(refs(task()))
6767
assert dst.is_file()
@@ -100,7 +100,7 @@ def test_CDEPS_streams(driverobj, group):
100100
template_file = driverobj.rundir.parent / "template.jinja2"
101101
with open(template_file, "w", encoding="utf-8") as f:
102102
print(dedent(template).strip(), file=f)
103-
driverobj._config[f"{group}_streams"]["template_file"] = template_file
103+
driverobj._config["template_file"] = template_file
104104
task = getattr(driverobj, f"{group}_stream")
105105
path = Path(refs(task()))
106106
assert dst.is_file()

0 commit comments

Comments
 (0)