Skip to content

Commit

Permalink
Update test_issue_368_enums.py
Browse files Browse the repository at this point in the history
Updated the test for str representation to match what is expected
  • Loading branch information
hsolbrig authored Jul 20, 2021
1 parent d8c55b5 commit 43e9205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_issues/test_issue_368_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_issue_368_enums(self):
example = module.SampleClass(slot_1="pva")
assert hasattr(example, "slot_1")
assert example.slot_1.code.text == enum_inst.code.text
assert str(example.slot_1) == "pva: PVA description"
assert str(example.slot_1) == "pva"

def dump_and_load(dumper: Callable, sfx: str) -> None:
fname = env.actual_path(f'issue_368_1.{sfx}')
Expand Down

0 comments on commit 43e9205

Please sign in to comment.