Fix Unit Test

This commit is contained in:
Ivan Kravets
2016-10-06 13:41:30 +03:00
parent 7bf5d349d7
commit 6c7673f17b
2 changed files with 2 additions and 2 deletions

View File

@ -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'])

View File

@ -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")])