yamllint/tests
Martin Packman 5b049e4229 Add RunContext helper for cli tests
Single context manager that includes exit code and output streams.

Use new RunContext throughout test_cli.

Largely non-functional change, saving some repetition of setup.

Also improve some failures by bundling multiple assertions into one.
2020-02-13 12:02:45 +01:00
..
rules fix(default.yaml): disable empty-values & octal-values by default 2019-10-15 09:41:32 +02:00
yaml-1.2-spec-examples Tests: Remove ghost character from YAML spec example 2016-02-01 23:27:49 +01:00
__init__.py Tests: Run with LC_ALL=C for uniform tests 2016-06-28 11:04:50 +02:00
common.py Drop support for EOL Python 2.6 2018-11-26 19:09:47 +01:00
test_cli.py Add RunContext helper for cli tests 2020-02-13 12:02:45 +01:00
test_config.py feat: Lint .yamllint by default 2019-08-26 10:01:40 +02:00
test_linter.py Drop support for EOL Python 2.6 2018-11-26 19:09:47 +01:00
test_module.py Drop support for EOL Python 2.6 2018-11-26 19:09:47 +01:00
test_parser.py Upgrade unit tests to use more useful asserts 2018-11-26 19:09:47 +01:00
test_spec_examples.py Remove redundant parentheses 2018-11-26 19:09:47 +01:00
test_syntax_errors.py Rules: indentation: Handle sets 2016-02-01 17:52:46 +01:00
test_yamllint_directives.py Allow disabling all checks for a file 2019-11-19 11:26:31 +01:00