From 968106409353368723d8382b3c13ef21f59053b8 Mon Sep 17 00:00:00 2001 From: SET Date: Sat, 15 Aug 2020 11:06:45 -0300 Subject: [PATCH] Fixed flake8 details --- tests/test_plot/test_int_bom.py | 1 - tests/test_plot/test_sch_errors.py | 15 +++++---------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/tests/test_plot/test_int_bom.py b/tests/test_plot/test_int_bom.py index 395f762a..d690efa0 100644 --- a/tests/test_plot/test_int_bom.py +++ b/tests/test_plot/test_int_bom.py @@ -220,7 +220,6 @@ def check_csv_info(r, info, stats): assert row == len(r) - def kibom_verif(rows, header, skip_head=False, qty_name=QTY_COLUMN_NAME): if not skip_head: assert header == KIBOM_TEST_HEAD diff --git a/tests/test_plot/test_sch_errors.py b/tests/test_plot/test_sch_errors.py index 83f31f19..ba562539 100644 --- a/tests/test_plot/test_sch_errors.py +++ b/tests/test_plot/test_sch_errors.py @@ -64,9 +64,9 @@ def test_sch_errors_l4(): def test_sch_errors_l5(): setup_ctx('l5', ['Unknown poligon definition', 'Expected 6 coordinates and got 8 in poligon', - 'Unknown square definition', 'Unknown circle definition', 'Unknown arc definition', - 'Unknown text definition', 'Unknown pin definition', 'Failed to load component definition', - 'Unknown draw element']) + 'Unknown square definition', 'Unknown circle definition', 'Unknown arc definition', + 'Unknown text definition', 'Unknown pin definition', 'Failed to load component definition', + 'Unknown draw element']) def test_sch_errors_l6(): @@ -95,8 +95,8 @@ def test_sch_errors_field_name(): def test_sch_errors_ar(): setup_ctx('ar', ['Unknown AR field .?Bogus.?', 'Alternative Reference without path', - 'Alternative Reference without reference', 'Component `U1` without the basic fields', - 'Footprint with more than one colon']) + 'Alternative Reference without reference', 'Component `U1` without the basic fields', + 'Footprint with more than one colon']) def test_sch_errors_miss_label(): @@ -245,8 +245,3 @@ def test_sch_errors_bad_snum(): def test_sch_errors_bad_tbentry(): setup_ctx('bad_tbentry', 'Wrong entry in title block') - - - - -