Switch to the new ProjectConfig API

This commit is contained in:
Ivan Kravets committed 2019-05-07 17:51:50 +03:00
1 parent 1b4f945907
commit c235974eb6
11 files changed
+354 -223

No files matched your search

+4 -2
View File
@@ -24,8 +24,10 @@ from platformio import util
def validate_cliresult():
def decorator(result):
assert result.exit_code == 0, result.output
assert not result.exception, result.output
assert result.exit_code == 0, "{} => {}".format(
result.exception, result.output)
assert not result.exception, "{} => {}".format(result.exception,
result.output)
return decorator