Skip to content

Commit

Permalink
removed redundant checks in k8s pipeline test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianScherer88 committed Dec 2, 2024
1 parent 70d863e commit 3f4499e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions sdk/test/k8s/pipelines/pipeline/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ def test_artifact_pipeline_decorator_and_register_and_run(
"""Registers and runs an example Pipeline passing artifacts across
components."""

parameter_to_artifact_pipeline.export(test_output_dir)

assert not parameter_to_artifact_pipeline.registered
assert parameter_to_artifact_pipeline.registered_id is None
assert parameter_to_artifact_pipeline.registered_name is None
assert parameter_to_artifact_pipeline.registered_namespace is None

parameter_to_artifact_pipeline.register()

assert parameter_to_artifact_pipeline.registered
Expand Down Expand Up @@ -64,13 +57,6 @@ def test_parameter_pipeline_decorator_and_register_and_run(
"""Registers and runs an example Pipeline passing parameters across
components."""

adding_parameters_pipeline.export(test_output_dir)

assert not adding_parameters_pipeline.registered
assert adding_parameters_pipeline.registered_id is None
assert adding_parameters_pipeline.registered_name is None
assert adding_parameters_pipeline.registered_namespace is None

adding_parameters_pipeline.register()

assert adding_parameters_pipeline.registered
Expand Down

0 comments on commit 3f4499e

Please sign in to comment.