Skip to content

Rewrite spf system test to pytest

Michal Nowak requested to merge mnowak/pytest_rewrite_spf into main

The spf system test pytest rewrite uses the !8357 (merged) python helpers to query named log.

Compared to the shell version of the spf system test, which is around 30 lines of code, the pytest rewrite is about twice that size.

test_spf_missing_lines tests use a feature discouraged in isctest.py: wait_for_line() is expected to throw a TimeoutError exception and the test code acts on it.

Merge request reports