diff --git a/translation/samples/snippets/beta_snippets_test.py b/translation/samples/snippets/beta_snippets_test.py index 7e0c2dc61ede..dcb396ed1cf0 100644 --- a/translation/samples/snippets/beta_snippets_test.py +++ b/translation/samples/snippets/beta_snippets_test.py @@ -75,7 +75,7 @@ def test_batch_translate_text(capsys, bucket): beta_snippets.batch_translate_text( PROJECT_ID, "gs://cloud-samples-data/translation/text.txt", - "gs://{}/translation/BATCH_TRANSLATION_OUTPUT/".format(bucket.name), + "gs://{}/translation/BATCH_TRANSLATION_BETA_OUTPUT/".format(bucket.name), ) out, _ = capsys.readouterr() assert "Total Characters: 13" in out diff --git a/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_and_model_test.py b/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_and_model_test.py index dc12e2d1b69b..5abadec41b83 100644 --- a/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_and_model_test.py +++ b/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_and_model_test.py @@ -69,7 +69,7 @@ def bucket(): def test_batch_translate_text_with_glossary_and_model(capsys, bucket, glossary): translate_v3_batch_translate_text_with_glossary_and_model.batch_translate_text_with_glossary_and_model( "gs://cloud-samples-data/translation/text_with_custom_model_and_glossary.txt", - "gs://{}/translation/BATCH_TRANSLATION_OUTPUT/".format(bucket.name), + "gs://{}/translation/BATCH_TRANSLATION_GLOS_MODEL_OUTPUT/".format(bucket.name), PROJECT_ID, MODEL_ID, glossary, diff --git a/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_test.py b/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_test.py index 33a1f829b3a3..ffac21a12fba 100644 --- a/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_test.py +++ b/translation/samples/snippets/translate_v3_batch_translate_text_with_glossary_test.py @@ -70,7 +70,7 @@ def bucket(): def test_batch_translate_text_with_glossary(capsys, bucket, glossary): translate_v3_batch_translate_text_with_glossary.batch_translate_text_with_glossary( "gs://cloud-samples-data/translation/text_with_glossary.txt", - "gs://{}/translation/BATCH_TRANSLATION_OUTPUT/".format(bucket.name), + "gs://{}/translation/BATCH_TRANSLATION_GLOS_OUTPUT/".format(bucket.name), PROJECT_ID, glossary, 320, diff --git a/translation/samples/snippets/translate_v3_batch_translate_text_with_model_test.py b/translation/samples/snippets/translate_v3_batch_translate_text_with_model_test.py index f6ad1007c6be..02e99b690608 100644 --- a/translation/samples/snippets/translate_v3_batch_translate_text_with_model_test.py +++ b/translation/samples/snippets/translate_v3_batch_translate_text_with_model_test.py @@ -40,7 +40,7 @@ def bucket(): def test_batch_translate_text_with_model(capsys, bucket): translate_v3_batch_translate_text_with_model.batch_translate_text_with_model( "gs://cloud-samples-data/translation/custom_model_text.txt", - "gs://{}/translation/BATCH_TRANSLATION_OUTPUT/".format(bucket.name), + "gs://{}/translation/BATCH_TRANSLATION_MODEL_OUTPUT/".format(bucket.name), PROJECT_ID, MODEL_ID, )