Implemented writing of numerical strings.

This commit is contained in:
The Wobbler 2025-03-17 17:36:22 +01:00
parent 58fee40de5
commit 8554ef8d81
3 changed files with 19 additions and 3 deletions

View file

@ -28,3 +28,14 @@ def test_written_gets_recognized():
assert tag.artist == field_content
assert tag.album == field_content
def test_int_converted_to_numerical_string():
tag = SmallTag.get("formats/test.mp3")
tag.track = 123
tag.write()
tag = SmallTag.get("formats/test.mp3")
assert tag.track == 123