mirror of
https://github.com/facefusion/facefusion.git
synced 2026-04-22 09:26:02 +02:00
remove instance check
This commit is contained in:
@@ -36,7 +36,6 @@ def test_get_metrics(test_client : TestClient) -> None:
|
||||
get_metrics_body = get_metrics_response.json()
|
||||
|
||||
assert 'execution_devices' in get_metrics_body
|
||||
assert isinstance(get_metrics_body.get('execution_devices'), list)
|
||||
assert get_metrics_response.status_code == 200
|
||||
|
||||
|
||||
@@ -54,4 +53,3 @@ def test_websocket_metrics(test_client : TestClient) -> None:
|
||||
metrics_set = websocket.receive_json()
|
||||
|
||||
assert 'execution_devices' in metrics_set
|
||||
assert isinstance(metrics_set.get('execution_devices'), list)
|
||||
|
||||
Reference in New Issue
Block a user