Implemented writing of numerical strings.
This commit is contained in:
parent
58fee40de5
commit
8554ef8d81
3 changed files with 19 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue