Fixed a "ValueError: Invalid simple block" when uninstalling a package with a custom name and external source // Resolve #3816

This commit is contained in:
Ivan Kravets committed 2021-01-26 16:15:11 +02:00
1 parent dd4fff3a79
commit 4012a86cac
5 files changed
+31 -21

No files matched your search

+9
View File
@@ -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():