We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42fdf96 commit 84d1f59Copy full SHA for 84d1f59
tests/test_translate_text.py
@@ -346,14 +346,6 @@ def test_tag_handling_html(translator):
346
assert '<p translate="no">My first paragraph.</p>' in result.text
347
348
349
-def test_invalid_url(server):
350
- translator = deepl.Translator(
351
- server.auth_key, server_url="https://example.com"
352
- )
353
- with pytest.raises(deepl.DeepLException, match="check server_url"):
354
- translator.translate_text("Hello, world!", target_lang="DE")
355
-
356
357
def test_empty_auth_key(server):
358
with pytest.raises(ValueError, match=r"auth_key must not be empty"):
359
deepl.Translator("", server_url=server.server_url)
0 commit comments