Skip to content

Commit 2ec1e83

Browse files
committed
Fix tests
1 parent dd79f49 commit 2ec1e83

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/integration/test_kafka_service.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ def test_process_message_with_skipped_project(self):
176176
service_config = ServiceConfig(
177177
sentry_base_url="http://test.sentry.io",
178178
projects_to_skip=["skip-project"],
179+
objectstore_url="http://test.objectstore.io",
179180
)
180181

181182
test_message = {
@@ -196,6 +197,7 @@ def test_process_message_with_allowed_project(self):
196197
service_config = ServiceConfig(
197198
sentry_base_url="http://test.sentry.io",
198199
projects_to_skip=["other-project"],
200+
objectstore_url="http://test.objectstore.io",
199201
)
200202

201203
test_message = {
@@ -226,6 +228,7 @@ def test_process_message_error_handling(self):
226228
service_config = ServiceConfig(
227229
sentry_base_url="http://test.sentry.io",
228230
projects_to_skip=[],
231+
objectstore_url="http://test.objectstore.io",
229232
)
230233

231234
test_message = {

tests/unit/artifacts/test_artifact_processor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from unittest.mock import Mock, patch
22

3-
import pytest
4-
53
from objectstore_client import Client as ObjectstoreClient
64
from sentry_kafka_schemas.schema_types.preprod_artifact_events_v1 import (
75
PreprodArtifactEvents,

0 commit comments

Comments
 (0)