From 6fd4ac1bb9c7461f8d4b92e2bc2d9f7d359db66a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 26 Jan 2024 23:03:55 -0300 Subject: [PATCH] Refactor file deletion test in test_files.py --- tests/test_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_files.py b/tests/test_files.py index 50d9c1f9f..3c67d8d76 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -75,6 +75,6 @@ def test_file_operations(client): assert response.status_code == 200 assert response.json() == {"message": f"File {file_name} deleted successfully"} - # Optional: Verify that the file is indeed deleted + # Verify that the file is indeed deleted response = client.get(f"api/v1/files/list/{flow_id}") assert file_name not in response.json()["files"]