Skip to content

Commit dfdc52d

Browse files
author
Marius Moisescu
committed
Updated test_training_step
1 parent 20c743c commit dfdc52d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/unit/sagemaker/workflow/test_training_step.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ def test_training_step_with_estimator(
424424

425425
# test idempotency
426426
step_def2 = json.loads(pipeline.definition())["Steps"][0]
427-
del step_def2["Arguments"]["ProfilerRuleConfigurations"]
428427
assert step_definition == step_def2
429428

430429

@@ -534,7 +533,6 @@ def test_training_step_with_framework_estimator(
534533
del step_def["Arguments"]["OutputDataConfig"]["S3OutputPath"]
535534

536535
# delete profiler rule configurations because of timestamp collision
537-
del step_def["Arguments"]["ProfilerRuleConfigurations"]
538536
del expected_step_args["ProfilerRuleConfigurations"]
539537

540538
if "sagemaker_s3_output" in step_args["HyperParameters"]:
@@ -605,7 +603,6 @@ def test_training_step_with_framework_estimator_local_code(
605603
del step_def["Arguments"]["OutputDataConfig"]["S3OutputPath"]
606604

607605
# delete profiler rule configurations because of timestamp collision
608-
del step_def["Arguments"]["ProfilerRuleConfigurations"]
609606
del expected_step_args["ProfilerRuleConfigurations"]
610607

611608
if "sagemaker_s3_output" in step_args["HyperParameters"]:
@@ -698,7 +695,6 @@ def test_training_step_with_algorithm_base(algo_estimator, training_input, pipel
698695
del step_def["Arguments"]["InputDataConfig"][0]["DataSource"]["S3DataSource"]["S3Uri"]
699696

700697
# delete profiler rule configurations because of timestamp collision
701-
del step_def["Arguments"]["ProfilerRuleConfigurations"]
702698
del step_args["ProfilerRuleConfigurations"]
703699

704700
assert step_def == {
@@ -786,7 +782,6 @@ def test_training_step_with_algorithm_base_local_code(
786782
del step_def["Arguments"]["InputDataConfig"][0]["DataSource"]["S3DataSource"]["S3Uri"]
787783

788784
# delete profiler rule configurations because of timestamp collision
789-
del step_def["Arguments"]["ProfilerRuleConfigurations"]
790785
del step_args["ProfilerRuleConfigurations"]
791786

792787
assert step_def == {

0 commit comments

Comments
 (0)