Refactor helper functions into a utils package
This commit is contained in:
parent
ece37c4659
commit
620323eab0
3 changed files with 179 additions and 145 deletions
|
@ -45,7 +45,7 @@ def test_cast_and_hash(obj) -> None:
|
|||
],
|
||||
)
|
||||
def test__remove_invalid_xml_chars(test_input: str, expected: str) -> None:
|
||||
assert pylast._remove_invalid_xml_chars(test_input) == expected
|
||||
assert pylast.utils._remove_invalid_xml_chars(test_input) == expected
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue