@pytest.fixture(scope="session")
def glossary():
Get the ID of a glossary available to session (do not mutate/delete).
glossary_id = "must-start-with-letters-" + str(uuid.uuid1())
translate_v3_create_glossary.create_glossary(
PROJECT_ID, GLOSSARY_INPUT_URI, glossary_id
)
After Change
@pytest.fixture(scope="session")
def glossary():
Get the ID of a glossary available to session (do not mutate/delete).
glossary_id = "test-{}".format(uuid.uuid4())
translate_v3_create_glossary.create_glossary(
PROJECT_ID, GLOSSARY_INPUT_URI, glossary_id
)