Nidhal Baccouri
commited on
Commit
·
6bf8aa6
1
Parent(s):
5086855
allowed special characters
Browse files- tests/test_google.py +0 -3
tests/test_google.py
CHANGED
|
@@ -46,9 +46,6 @@ def test_empty_text(google_translator):
|
|
| 46 |
|
| 47 |
|
| 48 |
def test_payload(google_translator):
|
| 49 |
-
with pytest.raises(exceptions.NotValidPayload):
|
| 50 |
-
google_translator.translate(text="{}")
|
| 51 |
-
|
| 52 |
with pytest.raises(exceptions.NotValidPayload):
|
| 53 |
google_translator.translate(text={})
|
| 54 |
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
def test_payload(google_translator):
|
|
|
|
|
|
|
|
|
|
| 49 |
with pytest.raises(exceptions.NotValidPayload):
|
| 50 |
google_translator.translate(text={})
|
| 51 |
|