mirror of
https://github.com/facefusion/facefusion.git
synced 2026-10-12 08:37:07 +02:00
jpeg is not a format
This commit is contained in:
1 parent
169d578a14
commit
9d9805a03b
4 files changed
+4
-2
No files matched your search
@@ -30,6 +30,7 @@ def test_get_file_extension() -> None:
|
||||
|
||||
def test_get_file_format() -> None:
|
||||
assert get_file_format('source.jpg') == 'jpg'
|
||||
assert get_file_format('source.jpeg') == 'jpg'
|
||||
assert get_file_format('source.mp3') == 'mp3'
|
||||
assert get_file_format('invalid') is None
|
||||
|
||||
|
||||
Reference in new issue
Block a user