Skip to content

Commit 84d1f59

Browse files
ci: remove flaky test with little utility
1 parent 42fdf96 commit 84d1f59

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/test_translate_text.py

-8
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,6 @@ def test_tag_handling_html(translator):
346346
assert '<p translate="no">My first paragraph.</p>' in result.text
347347

348348

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-
357349
def test_empty_auth_key(server):
358350
with pytest.raises(ValueError, match=r"auth_key must not be empty"):
359351
deepl.Translator("", server_url=server.server_url)

0 commit comments

Comments
 (0)