kuspia commited on
Commit
faefd3f
·
unverified ·
1 Parent(s): 39b7794

Update test_google_trans.py

Browse files
Files changed (1) hide show
  1. tests/test_google_trans.py +4 -2
tests/test_google_trans.py CHANGED
@@ -4,17 +4,19 @@
4
 
5
  import pytest
6
  from deep_translator import exceptions, GoogleTranslator
7
- from deep_translator.constants import GOOGLE_CODES_TO_LANGUAGES, test_text_standard, TRANSLATED_RESULTS
 
8
  import random
9
 
 
10
  @pytest.fixture
11
  def google_translator():
12
  """Sample pytest fixture.
13
-
14
  See more at: http://doc.pytest.org/en/latest/fixture.html
15
  """
16
  return GoogleTranslator(target='en')
17
 
 
18
  def case_sensitivity_checks():
19
  test_lang = 'Czech'
20
  test_text = 'Hi, the sky is dark while the moon is white. Hurrah!! Denver is a city name in Colorado.'
 
4
 
5
  import pytest
6
  from deep_translator import exceptions, GoogleTranslator
7
+ from deep_translator.constants import GOOGLE_CODES_TO_LANGUAGES
8
+ from test_data import test_text_standard, TRANSLATED_RESULTS
9
  import random
10
 
11
+
12
  @pytest.fixture
13
  def google_translator():
14
  """Sample pytest fixture.
 
15
  See more at: http://doc.pytest.org/en/latest/fixture.html
16
  """
17
  return GoogleTranslator(target='en')
18
 
19
+
20
  def case_sensitivity_checks():
21
  test_lang = 'Czech'
22
  test_text = 'Hi, the sky is dark while the moon is white. Hurrah!! Denver is a city name in Colorado.'