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 11This 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(
624624 mock_dsc_model_from_id .assert_called_with (TestDataset .EVAL_ID )
625625 self .print_expected_response (response , "DOWNLOAD REPORT" )
626626 self .assert_payload (response , AquaEvalReport )
627- read_content = base64 .b64decode (response .content )
627+ read_content = base64 .b64decode (response .content ). decode ()
628628 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 "
630631 ), read_content
631632 assert self .app ._report_cache .currsize == 1
632633
You can’t perform that action at this time.
0 commit comments