From 78db2cda275a63052c6b32bd7dd5d84a20021781 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 26 May 2015 16:41:45 +0300 Subject: [PATCH] Use forced run command and "--project-dir" option --- tests/test_examples.py | 3 +-- tox.ini | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_examples.py b/tests/test_examples.py index 9ababba2..ab02d640 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -30,8 +30,7 @@ def test_run(platformio_setup, pioproject_dir): rmtree(join(pioproject_dir, ".pioenvs")) result = exec_command( - ["platformio", "run"], - cwd=pioproject_dir + ["platformio", "--force", "run", "--project-dir", pioproject_dir] ) if result['returncode'] != 0: pytest.fail(result) diff --git a/tox.ini b/tox.ini index 84770c5c..49706329 100644 --- a/tox.ini +++ b/tox.ini @@ -46,8 +46,6 @@ basepython = usedevelop = True passenv = * deps = pytest -setenv = - PLATFORMIO_SETTING_ENABLE_PROMPTS = False commands = {envpython} --version pip install --egg http://sourceforge.net/projects/scons/files/latest/download