@@ -464,7 +464,8 @@ def test_that_the_exit_code_is_1_when_it_should_be(self):
464464 "HTAN h5ad File Validator\n "
465465 "File: htan_bad.h5ad\n "
466466 "Running cellxgene-schema\n "
467- "Cellxgene run has errors. Please note errors or warnings in the output file.\n "
467+ "Cellxgene run has errors. "
468+ "Please note errors or warnings in the output file.\n "
468469 "Running HTAN-specific validation\n "
469470 "HTAN Validation Failed.\n "
470471 "Please check output file for errors.\n "
@@ -483,7 +484,8 @@ def test_that_the_exit_code_is_0_when_it_should_be(self):
483484 "HTAN h5ad File Validator\n "
484485 "File: htan_good.h5ad\n "
485486 "Running cellxgene-schema\n "
486- "Cellxgene run successful. Please check the output file to see if warnings exist.\n "
487+ "Cellxgene run successful. "
488+ "Please check the output file to see if warnings exist.\n "
487489 "Running HTAN-specific validation\n "
488490 "Validation Passed!\n "
489491 "\n "
@@ -507,9 +509,7 @@ def test_that_wrong_file_type_has_1_exit_code(self):
507509 )
508510 assert executor .exit_code == "1"
509511
510- def test_that_the_test_correctly_interprets_exit_code_0_and_1 (
511- self , mocker
512- ):
512+ def test_that_the_test_correctly_interprets_exit_code_0_and_1 (self , mocker ):
513513 # 1 is pass, 0 is fail
514514 with TemporaryDirectory () as tmp_dir :
515515 path_0 = Path (tmp_dir , "code_0.txt" )
@@ -531,4 +531,4 @@ def test_that_the_test_correctly_interprets_exit_code_0_and_1(
531531 test , "_find_process_outputs" , return_value = fail_outputs
532532 )
533533 test_status = test .get_status ()
534- assert test_status == TestStatus .FAIL
534+ assert test_status == TestStatus .FAIL
0 commit comments