Added test for filter help.

This commit is contained in:
Salvador E. Tropea 2020-10-09 11:59:13 -03:00
parent 0264d0e88f
commit 4ea81d80a3
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- The KiBoM and internal BoM generators now support configuring the
separator used for the list of references.
- Help for filters and variants.
- Support for new `pcbnew_do export` options.
## [0.7.0] - 2020-09-11

View File

@ -347,6 +347,13 @@ def test_help_output_unk():
ctx.clean_up()
def test_help_filters():
ctx = context.TestContext('test_help_filters', '3Rs', 'pre_and_position', POS_DIR)
ctx.run(extra=['--help-filters'], no_verbose=True, no_out_dir=True, no_yaml_file=True, no_board_file=True)
assert ctx.search_out('Generic filter')
ctx.clean_up()
def test_help_output_plugin_1():
ctx = context.TestContext('test_help_output_plugin_1', '3Rs', 'pre_and_position', POS_DIR)
home = os.environ['HOME']