Skip to content

Commit

Permalink
fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mathialo committed Nov 29, 2024
1 parent 3489252 commit 5ef614b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions tests/test_unstable/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import pytest

from cognite.extractorutils.unstable.configuration.models import ConnectionConfig, IntervalConfig, TimeIntervalConfig
from cognite.extractorutils.unstable.core.base import FullConfig
from cognite.extractorutils.unstable.core.tasks import ScheduledTask
from cognite.extractorutils.util import now

Expand All @@ -19,9 +20,12 @@ def test_simple_task_report(

# Create a simple test extractor
extractor = TestExtractor(
connection_config=connection_config,
application_config=application_config,
current_config_revision=1,
FullConfig(
connection_config=connection_config,
application_config=application_config,
current_config_revision=1,
newest_config_revision=1,
)
)

extractor.add_task(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unstable/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
project: test-project
base-url: https://baseurl.com
extraction-pipeline: test-pipeline
integration: test-pipeline
authentication:
type: client-credentials
Expand Down

0 comments on commit 5ef614b

Please sign in to comment.