File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
This is a sample evaluation report.html.
2
+ Standard deviation (σ)
Original file line number Diff line number Diff line change @@ -624,9 +624,10 @@ def test_download_report(
624
624
mock_dsc_model_from_id .assert_called_with (TestDataset .EVAL_ID )
625
625
self .print_expected_response (response , "DOWNLOAD REPORT" )
626
626
self .assert_payload (response , AquaEvalReport )
627
- read_content = base64 .b64decode (response .content )
627
+ read_content = base64 .b64decode (response .content ). decode ()
628
628
assert (
629
- read_content == b"This is a sample evaluation report.html.\n "
629
+ read_content
630
+ == "This is a sample evaluation report.html.\n Standard deviation (σ)\n "
630
631
), read_content
631
632
assert self .app ._report_cache .currsize == 1
632
633
You can’t perform that action at this time.
0 commit comments