Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Aug 30, 2024
1 parent 77a3cf2 commit 425b8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ap_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_serialize_aps_of_project(self) -> None:
with open(self.output_file, mode="r", encoding="utf-8") as f:
aps_file = json.load(f)
explanation_text = next(iter(aps_file.keys()))
assert re.search(r"Project 1234 on host .+ has \d+ APs", explanation_text)
assert re.search(r"Project 1234 on server .+ has \d+ APs", explanation_text)
aps_as_dicts = aps_file[explanation_text]
assert self.ap1 == Ap.model_validate(aps_as_dicts[0])
assert self.ap2 == Ap.model_validate(aps_as_dicts[1])
Expand Down

0 comments on commit 425b8bd

Please sign in to comment.