Skip to content

Commit

Permalink
nit: fix web main test, make cre_csv contain sample 'standard'
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Nov 11, 2024
1 parent 8146066 commit 8363dd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/tests/web_main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,9 @@ def test_get_cre_csv(self) -> None:
"CRE 2": "",
"CRE 3": "",
"CRE 4": "",
"standard|name": "",
"standard|id": "",
"standard|hyperlink": "",
},
{"CRE 0": "123-300|root0"},
{"CRE 1": "123-400|CREname0-0"},
Expand All @@ -944,6 +947,7 @@ def test_get_cre_csv(self) -> None:
{"CRE 4": "123-413|CREname1-3"},
]
data = spreadsheet.write_csv(expected_out)
self.maxDiff = None
self.assertEqual(
data.getvalue(),
response.data.decode(),
Expand Down

0 comments on commit 8363dd6

Please sign in to comment.