From fa339a8b70c0f532b93dd38aa593a2793c0f22f6 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 4 Jun 2015 23:17:18 +0300 Subject: [PATCH] Fix firmware verification for examples --- tests/test_examples.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_examples.py b/tests/test_examples.py index ab02d640..2e98739d 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -38,6 +38,8 @@ def test_run(platformio_setup, pioproject_dir): # check .elf file pioenvs_dir = join(pioproject_dir, ".pioenvs") for item in listdir(pioenvs_dir): + if not isdir(item): + continue assert isfile(join(pioenvs_dir, item, "firmware.elf")) # check .hex or .bin files firmwares = []