File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -613,13 +613,12 @@ def test_nftest_failing_linting(self):
613613 module_lint = nf_core .modules .lint .ModuleLint (directory = self .nfcore_modules )
614614 module_lint .lint (print_results = False , module = "kallisto/quant" )
615615
616- assert len (module_lint .failed ) == 3 , f"Linting failed with { [x .__dict__ for x in module_lint .failed ]} "
616+ assert len (module_lint .failed ) == 2 , f"Linting failed with { [x .__dict__ for x in module_lint .failed ]} "
617617 assert len (module_lint .passed ) >= 0
618618 assert len (module_lint .warned ) >= 0
619- assert module_lint .failed [0 ].lint_test == "environment_yml_valid"
620- assert module_lint .failed [1 ].lint_test == "meta_yml_valid"
621- assert module_lint .failed [2 ].lint_test == "test_main_tags"
622- assert "kallisto/index" in module_lint .failed [2 ].message
619+ assert module_lint .failed [0 ].lint_test == "meta_yml_valid"
620+ assert module_lint .failed [1 ].lint_test == "test_main_tags"
621+ assert "kallisto/index" in module_lint .failed [1 ].message
623622
624623 def test_modules_absent_version (self ):
625624 """Test linting a nf-test module if the versions is absent in the snapshot file `"""
You can’t perform that action at this time.
0 commit comments