mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix Unit Test
This commit is contained in:
@ -46,7 +46,7 @@ def pioplus_install():
|
||||
def pioplus_update():
|
||||
pm = PioPlusPackageManager()
|
||||
for item in PACKAGE_DEPS.values():
|
||||
package_dir = pm.get_package_dir(item['name'], item['requirements'])
|
||||
package_dir = pm.get_package_dir(item['name'])
|
||||
if package_dir:
|
||||
pm.update(item['name'], item['requirements'])
|
||||
|
||||
|
@ -26,4 +26,4 @@ def test_local_env():
|
||||
if result['returncode'] != 1:
|
||||
pytest.fail(result)
|
||||
assert all(
|
||||
[s in result['out'] for s in ("[PASSED]", "[IGNORED]", "[FAILED]")])
|
||||
[s in result['out'] for s in ("PASSED", "IGNORED", "FAILED")])
|
||||
|
Reference in New Issue
Block a user