forked from platformio/platformio-core
Fixed a "ValueError: Invalid simple block" when uninstalling a package with a custom name and external source // Resolve #3816
This commit is contained in:
1 parent
dd4fff3a79
commit
4012a86cac
5 files changed
+31
-21
No files matched your search
@@ -169,6 +169,15 @@ def test_spec_vcs_urls():
|
||||
url="git+git@github.com:platformio/platformio-core.git",
|
||||
requirements="^1.2.3,!=5",
|
||||
)
|
||||
assert PackageSpec(
|
||||
owner="platformio",
|
||||
name="external-repo",
|
||||
requirements="https://github.com/platformio/platformio-core",
|
||||
) == PackageSpec(
|
||||
owner="platformio",
|
||||
name="external-repo",
|
||||
url="git+https://github.com/platformio/platformio-core",
|
||||
)
|
||||
|
||||
|
||||
def test_spec_as_dict():
|
||||
|
||||
Reference in new issue
Block a user