diff --git a/tests/unit/extensions/test_env_injector.py b/tests/unit/extensions/test_env_injector.py index da70e293f92..6f4faeba890 100644 --- a/tests/unit/extensions/test_env_injector.py +++ b/tests/unit/extensions/test_env_injector.py @@ -82,7 +82,9 @@ def test_get_part_snippet(self, envinjector_extension): def assert_get_part_snippet(envinjector_extension): assert envinjector_extension.get_part_snippet(plugin_name="nil") == {} - @pytest.mark.parametrize("unsupported_arch", ["armhf", "riscv64", "ppc64el", "s390x"]) + @pytest.mark.parametrize( + "unsupported_arch", ["armhf", "riscv64", "ppc64el", "s390x"] + ) def test_get_parts_snippet(self, envinjector_extension, unsupported_arch): toolchain = "x86_64-unknown-linux-gnu" assert envinjector_extension.get_parts_snippet() == { @@ -108,5 +110,7 @@ def test_get_parts_snippet(self, envinjector_extension, unsupported_arch): } envinjector_extension.arch = unsupported_arch - with pytest.raises(ValueError, match="Unsupported architecture for env-injector extension"): + with pytest.raises( + ValueError, match="Unsupported architecture for env-injector extension" + ): envinjector_extension.get_parts_snippet()