Skip to content

Commit

Permalink
Fix error in printed message
Browse files Browse the repository at this point in the history
mondeja committed May 30, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent dff3e26 commit 467714b
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytest_blender/run_pytest.py
Original file line number Diff line number Diff line change
@@ -192,7 +192,7 @@ def skip_addon_installation(addon_module_name):
sys.stdout.write(
"[pytest-blender] Skipping installation of module"
f" '{addon_module_name}' as is not a Blender addon"
" (missing 'bl_info' module attribute)",
" (missing 'bl_info' module attribute)\n",
)
addons_to_uninstall.append(addon_module_name)

2 changes: 1 addition & 1 deletion tests/test_functionality_fixtures.py
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ def install_addons(install_addons_from_dir, uninstall_addons):
assert (
"[pytest-blender]"
" Skipping installation of module 'helpers' as is not a"
" Blender addon (missing 'bl_info' module attribute)"
" Blender addon (missing 'bl_info' module attribute)\n"
) in stdout

assert "pytest_blender_zipped" not in os.listdir(BLENDER_USER_ADDONS_DIR)

0 comments on commit 467714b

Please sign in to comment.