Skip to content

Commit 48b755e

Browse files
author
Marius Moisescu
committed
Updated test_training_step
1 parent d7ae37b commit 48b755e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/unit/sagemaker/workflow/test_training_step.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,6 @@ def test_training_step_with_framework_estimator(
546546
step_def2 = json.loads(pipeline.definition())["Steps"][0]
547547
del step_def2["Arguments"]["InputDataConfig"][0]["DataSource"]["S3DataSource"]["S3Uri"]
548548
del step_def2["Arguments"]["OutputDataConfig"]["S3OutputPath"]
549-
del step_def2["Arguments"]["ProfilerRuleConfigurations"]
550549
if "sagemaker_s3_output" in step_def2["Arguments"]["HyperParameters"]:
551550
del step_def2["Arguments"]["HyperParameters"]["sagemaker_s3_output"]
552551
assert step_def == step_def2
@@ -613,7 +612,6 @@ def test_training_step_with_framework_estimator_local_code(
613612
step_def2 = json.loads(pipeline.definition())["Steps"][0]
614613
del step_def2["Arguments"]["InputDataConfig"][0]["DataSource"]["S3DataSource"]["S3Uri"]
615614
del step_def2["Arguments"]["OutputDataConfig"]["S3OutputPath"]
616-
del step_def2["Arguments"]["ProfilerRuleConfigurations"]
617615
if "sagemaker_s3_output" in step_def2["Arguments"]["HyperParameters"]:
618616
del step_def2["Arguments"]["HyperParameters"]["sagemaker_s3_output"]
619617
assert step_def == step_def2
@@ -697,7 +695,6 @@ def test_training_step_with_algorithm_base(algo_estimator, training_input, pipel
697695
# test idempotency
698696
step_def2 = json.loads(pipeline.definition())["Steps"][0]
699697
del step_def2["Arguments"]["InputDataConfig"][0]["DataSource"]["S3DataSource"]["S3Uri"]
700-
del step_def2["Arguments"]["ProfilerRuleConfigurations"]
701698
assert step_def == step_def2
702699

703700

@@ -781,7 +778,6 @@ def test_training_step_with_algorithm_base_local_code(
781778
# test idempotency
782779
step_def2 = json.loads(pipeline.definition())["Steps"][0]
783780
del step_def2["Arguments"]["InputDataConfig"][0]["DataSource"]["S3DataSource"]["S3Uri"]
784-
del step_def2["Arguments"]["ProfilerRuleConfigurations"]
785781
assert step_def == step_def2
786782

787783

0 commit comments

Comments
 (0)