tests.test_checks moduleΒΆ

Tests for repomatic.checks.

tests.test_checks.test_check_result_unpacks_as_a_pair()[source]ΒΆ

A result reads as (passed, message), by name or by position.

tests.test_checks.test_report_result_prints_without_annotating(result, line, capsys)[source]ΒΆ

A pass or a skip is one terminal line, and never an annotation.

tests.test_checks.test_report_result_annotates_a_failure(level, line, capsys)[source]ΒΆ

A failure is annotated at its level, then printed with its glyph.