Skip to content

Commit 3850569

Browse files
rjeffmanmrbrandao
authored andcommitted
code format: Fix warnings for code style
This patch fixes a few changes proposed by `ruff --diff` on a fresh cloned repository. Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
1 parent 8d20a27 commit 3850569

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_cli_install.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,12 @@ def test_update_uses_prefixed_name_on_conflict(self, cli_runner, tmp_path):
554554
updated_inst2 = [
555555
i for i in registry.find("module2") if i.project_path == str(project_path)
556556
][0]
557-
assert "module2_shared" in updated_inst2.skills, (
558-
f"Expected 'module2_shared' in skills, got {updated_inst2.skills}"
559-
)
560-
assert "shared" not in updated_inst2.skills, (
561-
"module2 should not have unprefixed 'shared' since module1 owns it"
562-
)
557+
assert (
558+
"module2_shared" in updated_inst2.skills
559+
), f"Expected 'module2_shared' in skills, got {updated_inst2.skills}"
560+
assert (
561+
"shared" not in updated_inst2.skills
562+
), "module2 should not have unprefixed 'shared' since module1 owns it"
563563

564564

565565
class TestListInstalledCmd:

0 commit comments

Comments
 (0)