Skip to content

Commit 71ae283

Browse files
committed
Integration test fixes
1 parent aa6552e commit 71ae283

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

tests/integration/functional/test_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ def test_listing_snapshots(clean_client):
735735
client_version="0.12.3",
736736
server_version="0.12.3",
737737
pipeline=pipeline.id,
738+
is_dynamic=False,
738739
)
739740
response = clean_client.zen_store.create_snapshot(request)
740741

@@ -765,6 +766,7 @@ def test_getting_snapshots(clean_client):
765766
client_version="0.12.3",
766767
server_version="0.12.3",
767768
pipeline=pipeline.id,
769+
is_dynamic=False,
768770
)
769771
response = clean_client.zen_store.create_snapshot(request)
770772

@@ -793,6 +795,7 @@ def test_deleting_snapshots(clean_client):
793795
client_version="0.12.3",
794796
server_version="0.12.3",
795797
pipeline=pipeline.id,
798+
is_dynamic=False,
796799
)
797800
response = clean_client.zen_store.create_snapshot(request)
798801

tests/integration/functional/zen_stores/test_zen_store.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5597,6 +5597,7 @@ def test_metadata_full_cycle_with_cascade_deletion(
55975597
config=StepConfiguration(name=step_name),
55985598
)
55995599
},
5600+
is_dynamic=False,
56005601
)
56015602
)
56025603
pr, _ = client.zen_store.get_or_create_run(
@@ -5657,6 +5658,7 @@ def test_metadata_full_cycle_with_cascade_deletion(
56575658
)
56585659
},
56595660
schedule=resource.id,
5661+
is_dynamic=False,
56605662
)
56615663
)
56625664
else:
@@ -5890,6 +5892,7 @@ def create_artifact_version():
58905892
config=StepConfiguration(name=step_name),
58915893
)
58925894
},
5895+
is_dynamic=False,
58935896
)
58945897
)
58955898

tests/integration/functional/zen_stores/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ def __enter__(self):
755755
pipeline_configuration={"name": "pipeline_name"},
756756
client_version="0.12.3",
757757
server_version="0.12.3",
758+
is_dynamic=False,
758759
),
759760
)
760761
self.snapshots.append(snapshot)
@@ -1292,6 +1293,7 @@ def cleanup(self) -> None:
12921293
server_version="0.12.3",
12931294
pipeline_version_hash="random_hash",
12941295
pipeline_spec=PipelineSpec(steps=[]),
1296+
is_dynamic=False,
12951297
),
12961298
filter_model=PipelineSnapshotFilter,
12971299
entity_name="snapshot",
@@ -1371,6 +1373,7 @@ def cleanup(self) -> None:
13711373
server_version="0.12.3",
13721374
pipeline_version_hash="random_hash",
13731375
pipeline_spec=PipelineSpec(steps=[]),
1376+
is_dynamic=False,
13741377
),
13751378
filter_model=PipelineSnapshotFilter,
13761379
entity_name="snapshot",

tests/unit/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ def sample_pipeline_snapshot_request_model() -> PipelineSnapshotRequest:
453453
server_version="0.12.3",
454454
stack=uuid4(),
455455
pipeline=uuid4(),
456+
is_dynamic=False,
456457
)
457458

458459

0 commit comments

Comments
 (0)