Skip to content

Commit

Permalink
More fixes to test
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmkc committed Jan 7, 2022
1 parent 48424cb commit 5c68ef3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/unit/aiplatform/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def test_dataset_create_to_model_predict(
},
"python_package_spec": {
"executor_image_uri": test_training_jobs._TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [test_training_jobs._TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
},
Expand Down Expand Up @@ -411,7 +411,7 @@ def test_dataset_create_to_model_predict_with_pipeline_fail(
},
"python_package_spec": {
"executor_image_uri": test_training_jobs._TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [test_training_jobs._TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
},
Expand Down
10 changes: 5 additions & 5 deletions tests/unit/aiplatform/test_training_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ def test_run_call_pipeline_service_create_with_bigquery_destination(
},
"python_package_spec": {
"executor_image_uri": _TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [_TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
"env": true_env,
Expand Down Expand Up @@ -1304,7 +1304,7 @@ def test_run_call_pipeline_service_create_with_no_dataset(
},
"python_package_spec": {
"executor_image_uri": _TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [_TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
"env": true_env,
Expand Down Expand Up @@ -1607,7 +1607,7 @@ def test_run_call_pipeline_service_create_distributed_training(
},
"python_package_spec": {
"executor_image_uri": _TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [_TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
"env": true_env,
Expand Down Expand Up @@ -1776,7 +1776,7 @@ def test_run_call_pipeline_service_create_distributed_training_with_reduction_se
},
"python_package_spec": {
"executor_image_uri": _TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [_TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
"env": true_env,
Expand Down Expand Up @@ -2014,7 +2014,7 @@ def test_run_call_pipeline_service_create_with_nontabular_dataset_without_model_
},
"python_package_spec": {
"executor_image_uri": _TEST_TRAINING_CONTAINER_IMAGE,
"python_module": source_utils._TrainingScriptPythonPackager.module_name,
"python_module": test_training_jobs._TEST_MODULE_NAME,
"package_uris": [_TEST_OUTPUT_PYTHON_PACKAGE_PATH],
"args": true_args,
},
Expand Down

0 comments on commit 5c68ef3

Please sign in to comment.