From c0736e6a53376190365d679da433d6a461794fb2 Mon Sep 17 00:00:00 2001 From: Merel Theisen Date: Fri, 3 Feb 2023 17:04:37 +0000 Subject: [PATCH] Fix assert statement Signed-off-by: Merel Theisen --- tests/framework/cli/micropkg/test_micropkg_requirements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/framework/cli/micropkg/test_micropkg_requirements.py b/tests/framework/cli/micropkg/test_micropkg_requirements.py index 8380cb2f82..ac806b47e7 100644 --- a/tests/framework/cli/micropkg/test_micropkg_requirements.py +++ b/tests/framework/cli/micropkg/test_micropkg_requirements.py @@ -249,7 +249,6 @@ def test_empty_pipeline_requirements_txt( def test_complex_requirements( self, requirement, fake_project_cli, fake_metadata, fake_package_path ): - # pylint: disable=condition-evals-to-constant """Options that are valid in requirements.txt but cannot be packaged using setup.py.""" self.call_pipeline_create(fake_project_cli, fake_metadata) @@ -266,5 +265,6 @@ def test_complex_requirements( assert result.exit_code == 1 assert ( "InvalidRequirement: Expected package name at the start of dependency specifier" + in result.output or "InvalidRequirement: Expected end or semicolon" in result.output )