forked from platformio/platformio-core
Do not detach a new package even if it comes from external source
This commit is contained in:
1 parent
cdbb837948
commit
9f2c134e44
4 files changed
+29
-23
No files matched your search
@@ -186,6 +186,12 @@ version = 5.2.7
|
||||
pkg = lm.install_from_url("file://%s" % src_dir, spec)
|
||||
assert str(pkg.metadata.version) == "5.2.7"
|
||||
|
||||
# check package folder names
|
||||
lm.memcache_reset()
|
||||
assert ["local-lib-dir", "manifest-lib-name", "wifilib"] == [
|
||||
os.path.basename(pkg.path) for pkg in lm.get_installed()
|
||||
]
|
||||
|
||||
|
||||
def test_install_from_registry(isolated_pio_core, tmpdir_factory):
|
||||
# Libraries
|
||||
|
||||
Reference in new issue
Block a user