@@ -28,7 +28,7 @@ async def cleanup_tasks(provider: Provider):
2828
2929
3030@pytest .mark .asyncio
31- async def test_get_manifest_success (client_with_metrics , gcp_uploader , mock_manifest , cleanup ):
31+ async def test_get_manifest_success (client , gcp_uploader , mock_manifest , cleanup ):
3232 """Uploads a manifest to the gcs bucket and verifies that the endpoint returns the uploaded file."""
3333 # initialize provider on startup
3434 await init_provider ()
@@ -44,7 +44,7 @@ async def test_get_manifest_success(client_with_metrics, gcp_uploader, mock_mani
4444
4545 cleanup (provider )
4646
47- response = client_with_metrics .get ("/api/v1/manifest" )
47+ response = client .get ("/api/v1/manifest" )
4848 assert response .status_code == 200
4949
5050 manifest = ManifestData (** response .json ())
@@ -55,9 +55,7 @@ async def test_get_manifest_success(client_with_metrics, gcp_uploader, mock_mani
5555
5656
5757@pytest .mark .asyncio
58- async def test_get_manifest_from_gcs_bucket_should_return_empty_manifest_file (
59- client_with_metrics , cleanup
60- ):
58+ async def test_get_manifest_from_gcs_bucket_should_return_empty_manifest_file (client , cleanup ):
6159 """Does not upload any manifests to the gcs bucket. Should return none and a 404."""
6260 await init_provider ()
6361
@@ -69,7 +67,7 @@ async def test_get_manifest_from_gcs_bucket_should_return_empty_manifest_file(
6967
7068 cleanup (provider )
7169
72- response = client_with_metrics .get ("/api/v1/manifest" )
70+ response = client .get ("/api/v1/manifest" )
7371 assert response .status_code == 404
7472
7573 assert response .json ()["domains" ] == []
0 commit comments