chicken_turtle_util.test

Test utilities.

assert_text_contains Assert long string contains given string
assert_text_equals Assert long strings are equal
assert_matches
assert_search_matches
temp_dir_cwd pytest fixture that sets current working directory to a temporary directory
chicken_turtle_util.test.temp_dir_cwd(tmpdir)[source]

pytest fixture that sets current working directory to a temporary directory

chicken_turtle_util.test.assert_text_contains(whole, part)[source]

Assert long string contains given string

chicken_turtle_util.test.assert_text_equals(actual, expected)[source]

Assert long strings are equal

chicken_turtle_util.test.assert_matches(actual, pattern, flags=0)[source]
chicken_turtle_util.test.assert_search_matches(actual, pattern, flags=0)[source]