mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-07 11:07:53 +02:00
cleanup code part1
This commit is contained in:
@@ -119,7 +119,7 @@ def test_upload_asset(test_client : TestClient) -> None:
|
||||
'file': ('invalid.txt', 'invalid'.encode(), 'text/plain')
|
||||
})
|
||||
|
||||
assert upload_response.status_code == 400
|
||||
assert upload_response.status_code == 415
|
||||
|
||||
|
||||
def test_get_assets(test_client : TestClient) -> None:
|
||||
|
||||
@@ -214,7 +214,6 @@ def test_replace_audio() -> None:
|
||||
|
||||
def test_sanitize_audio() -> None:
|
||||
audio_path = get_test_example_file('source.mp3')
|
||||
|
||||
output_strict_path = get_test_output_path('output-strict.mp3')
|
||||
output_moderate_path = get_test_output_path('output-moderate.mp3')
|
||||
|
||||
@@ -235,7 +234,6 @@ def test_sanitize_image() -> None:
|
||||
|
||||
def test_sanitize_video() -> None:
|
||||
video_path = get_test_example_file('target-240p.mp4')
|
||||
|
||||
output_strict_path = get_test_output_path('output-strict.mp4')
|
||||
output_moderate_path = get_test_output_path('output-moderate.mp4')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user