Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp-noaa committed Sep 10, 2024
1 parent 8aff921 commit 8baa7cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uwtools/tests/test_rocoto.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ def test__add_compound_time_string_list(self, instance, root):
{"cyclestr": {"value": "%s", "attrs": {"offset": "00:06:00"}}},
".log",
]
instance._add_compound_time_string(e=root, config=config, tag="a")
expected = "<a>{}</a>".format(
xml = "<a>{}</a>".format(
"".join(
[
"cycle-",
Expand All @@ -145,7 +144,8 @@ def test__add_compound_time_string_list(self, instance, root):
]
)
)
assert etree.tostring(root[0]).decode("utf-8") == expected
instance._add_compound_time_string(e=root, config=config, tag="a")
assert etree.tostring(root[0]).decode("utf-8") == xml

def test__add_metatask(self, instance, root):
config = {
Expand Down

0 comments on commit 8baa7cd

Please sign in to comment.