import pytest import resumejson_converter.filters as filters def test_clean_no_parameter(): with pytest.raises(TypeError): filters.clean() def test_clean(): assert filters.clean("0011223344") == "00 11 22 33 44"