Skip to content

Commit 343e29c

Browse files
committed
Update test_install_plugin as well
1 parent 033334b commit 343e29c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/plugins/test_loader.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from email import message_from_string
1111
from pathlib import Path
1212
from typing import Any
13-
from urllib.request import pathname2url
1413

1514
import pytest
1615

@@ -448,8 +447,8 @@ def test_load_plugins_from_entry_points(mocker):
448447

449448

450449
def test_install_plugin():
451-
installable_package = pathname2url(
452-
str(Path("tests/artifacts/test-plugin-package").absolute())
450+
installable_package = (
451+
Path("tests/artifacts/test-plugin-package").absolute().as_posix()
453452
)
454453
metadata = VariantMetadata(
455454
namespace_priorities=["installable_plugin"],

0 commit comments

Comments
 (0)