Fixed flake8 errors
This commit is contained in:
parent
057f8688da
commit
1c3cc13004
|
|
@ -74,7 +74,6 @@ from .docopt import docopt
|
|||
from .gs import (GS)
|
||||
from .misc import (NO_PCB_FILE, NO_SCH_FILE, EXIT_BAD_ARGS, W_VARSCH, W_VARCFG, W_VARPCB, NO_PCBNEW_MODULE,
|
||||
W_NOKIVER, hide_stderr)
|
||||
from . import misc
|
||||
from .pre_base import (BasePreFlight)
|
||||
from .config_reader import (CfgYamlReader, print_outputs_help, print_output_help, print_preflights_help, create_example,
|
||||
print_filters_help)
|
||||
|
|
|
|||
|
|
@ -433,7 +433,8 @@ def test_error_bom_no_columns(test_dir):
|
|||
|
||||
def test_error_bom_no_field(test_dir):
|
||||
ctx = context.TestContext(test_dir, 'BoMNoField', PRJ, 'error_bom_no_field', '')
|
||||
ctx.run(EXIT_BAD_CONFIG, no_board_file=True, extra=['-e', os.path.join(ctx.get_board_dir(), 'fail-erc'+context.KICAD_SCH_EXT)])
|
||||
ctx.run(EXIT_BAD_CONFIG, no_board_file=True, extra=['-e', os.path.join(ctx.get_board_dir(),
|
||||
'fail-erc'+context.KICAD_SCH_EXT)])
|
||||
assert ctx.search_err("Missing or empty .?field.?")
|
||||
ctx.clean_up()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue