refactor: remove unnecessary 'client' fixture and update test durations (#4283)

* Remove unnecessary use of 'client' fixture in test_superuser

* Remove unnecessary use of 'usefixtures' decorator in test files

* Update test fixtures to improve test duration tracking

* Remove unnecessary 'client' fixture from test cases
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-10-27 11:16:45 -03:00 committed by GitHub
commit 73b5cc0098
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 601 additions and 605 deletions

View file

@ -632,7 +632,6 @@ async def test_load_flows(client: TestClient):
assert response.json()["folder_id"] is not None
@pytest.mark.usefixtures("client")
def test_sqlite_pragmas():
db_service = get_db_service()