87c3f9dea47ef6d3bc30f6f602c495234059feba,translate/cloud-client/translate_v3_translate_text_with_glossary_test.py,,glossary,#,28
Before Change
yield glossary_id
try:
translate_v3_delete_glossary.delete_glossary(PROJECT_ID, glossary_id)
except Exception:
pass
def test_translate_text_with_glossary(capsys, glossary):
translate_v3_translate_text_with_glossary.translate_text_with_glossary(
"account", PROJECT_ID, glossary
)
After Change
except NotFound as e:
// Ignoring this case.
print("Got NotFound, detail: {}".format(str(e)))
delete_glossary()
def test_translate_text_with_glossary(capsys, glossary):
translate_v3_translate_text_with_glossary.translate_text_with_glossary(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 87c3f9dea47ef6d3bc30f6f602c495234059feba
Time: 2020-04-30
Author: 45373284+munkhuushmgl@users.noreply.github.com
File Name: translate/cloud-client/translate_v3_translate_text_with_glossary_test.py
Class Name:
Method Name: glossary
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 87c3f9dea47ef6d3bc30f6f602c495234059feba
Time: 2020-04-30
Author: 45373284+munkhuushmgl@users.noreply.github.com
File Name: translate/cloud-client/translate_v3_get_glossary_test.py
Class Name:
Method Name: glossary
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 87c3f9dea47ef6d3bc30f6f602c495234059feba
Time: 2020-04-30
Author: 45373284+munkhuushmgl@users.noreply.github.com
File Name: translate/cloud-client/translate_v3_list_glossary_test.py
Class Name:
Method Name: glossary
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 87c3f9dea47ef6d3bc30f6f602c495234059feba
Time: 2020-04-30
Author: 45373284+munkhuushmgl@users.noreply.github.com
File Name: translate/cloud-client/translate_v3_batch_translate_text_with_glossary_test.py
Class Name:
Method Name: glossary