initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from evanescere.services.subtitles import format_ass_time, format_srt_time
|
||||
|
||||
|
||||
def test_format_srt_time():
|
||||
assert format_srt_time(3661.234) == "01:01:01,234"
|
||||
|
||||
|
||||
def test_format_ass_time():
|
||||
assert format_ass_time(3661.23) == "1:01:01.23"
|
||||
|
||||
Reference in New Issue
Block a user