Skip to content

Commit

Permalink
refact: formating
Browse files Browse the repository at this point in the history
Signed-off-by: Lincoln Wallace <[email protected]>
  • Loading branch information
locnnil committed Sep 27, 2024
1 parent b5f6370 commit fb432b8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/unit/extensions/test_env_injector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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() == {
Expand All @@ -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()

0 comments on commit fb432b8

Please sign in to comment.