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:
2
examples
2
examples
Submodule examples updated: 98642d857e...f3e8a0070a
@ -23,7 +23,7 @@ def test_local_env():
|
||||
result = util.exec_command(["platformio", "test", "-d",
|
||||
join("examples", "unit-testing", "calculator"),
|
||||
"-e", "local"])
|
||||
if result['returncode'] != 0:
|
||||
if result['returncode'] != 1:
|
||||
pytest.fail(result)
|
||||
assert all(
|
||||
[s in result['out'] for s in ("[PASSED]", "[IGNORED]", "[FAILED]")])
|
||||
|
Reference in New Issue
Block a user