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

Function test_glossary_languages

tests/test_general.py:126–131  ·  view source on GitHub ↗
(translator)

Source from the content-addressed store, hash-verified

124
125
126def test_glossary_languages(translator):
127 glossary_languages = translator.get_glossary_languages()
128 assert len(glossary_languages) > 0
129 for language_pair in glossary_languages:
130 assert len(language_pair.source_lang) > 0
131 assert len(language_pair.target_lang) > 0
132
133
134def test_server_url_selected_based_on_auth_key(server):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected