MCPcopy Create free account
hub / github.com/DeepL/deepl-python / test_glossary_list

Function test_glossary_list

tests/test_glossary.py:142–147  ·  view source on GitHub ↗
(translator, glossary_manager)

Source from the content-addressed store, hash-verified

140
141
142def test_glossary_list(translator, glossary_manager):
143 with glossary_manager("EN", "DE", {"Hello": "Hallo"}) as created_glossary:
144 glossaries = translator.list_glossaries()
145 assert any(
146 glossary.name == created_glossary.name for glossary in glossaries
147 )
148
149
150def test_glossary_delete(translator, glossary_manager):

Callers

nothing calls this directly

Calls 2

glossary_managerFunction · 0.85
list_glossariesMethod · 0.80

Tested by

no test coverage detected