From 50783087a1f0edb60e321404a25a508771d33046 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 3 Dec 2021 17:52:16 -0300 Subject: [PATCH] Fixed wrong variable in test assert --- tests/test_plot/test_preflight.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_plot/test_preflight.py b/tests/test_plot/test_preflight.py index 0c6026e4..eb14cfbd 100644 --- a/tests/test_plot/test_preflight.py +++ b/tests/test_plot/test_preflight.py @@ -203,10 +203,9 @@ def test_pcb_replace_1(test_dir): prj = 'light_control' ctx = context.TestContext(test_dir, 'test_pcb_replace_1', prj, 'pcb_replace_1', '') ctx.run(extra=[]) - files = {} file = ctx.board_file file_back = file + '-bak' - assert os.path.isfile(file_back), v + assert os.path.isfile(file_back), file_back assert os.path.getsize(file_back) > 0 try: logging.debug(file)