@@ -40,7 +40,7 @@ def test_ctor(self):
4040
4141 def test_face_annotation (self ):
4242 from google .cloud .vision .feature import Feature , FeatureTypes
43- from unit_tests .vision . _fixtures import FACE_DETECTION_RESPONSE
43+ from unit_tests ._fixtures import FACE_DETECTION_RESPONSE
4444
4545 RETURNED = FACE_DETECTION_RESPONSE
4646 REQUEST = {
@@ -82,7 +82,7 @@ def test_image_with_client(self):
8282
8383 def test_face_detection_from_source (self ):
8484 from google .cloud .vision .face import Face
85- from unit_tests .vision . _fixtures import FACE_DETECTION_RESPONSE
85+ from unit_tests ._fixtures import FACE_DETECTION_RESPONSE
8686 RETURNED = FACE_DETECTION_RESPONSE
8787 credentials = _Credentials ()
8888 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
@@ -99,7 +99,7 @@ def test_face_detection_from_source(self):
9999
100100 def test_face_detection_from_content (self ):
101101 from google .cloud .vision .face import Face
102- from unit_tests .vision . _fixtures import FACE_DETECTION_RESPONSE
102+ from unit_tests ._fixtures import FACE_DETECTION_RESPONSE
103103 RETURNED = FACE_DETECTION_RESPONSE
104104 credentials = _Credentials ()
105105 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
@@ -116,8 +116,9 @@ def test_face_detection_from_content(self):
116116
117117 def test_label_detection_from_source (self ):
118118 from google .cloud .vision .entity import EntityAnnotation
119- from unit_tests .vision ._fixtures import (LABEL_DETECTION_RESPONSE as
120- RETURNED )
119+ from unit_tests ._fixtures import (
120+ LABEL_DETECTION_RESPONSE as RETURNED )
121+
121122 credentials = _Credentials ()
122123 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
123124 client .connection = _Connection (RETURNED )
@@ -137,8 +138,9 @@ def test_label_detection_from_source(self):
137138
138139 def test_landmark_detection_from_source (self ):
139140 from google .cloud .vision .entity import EntityAnnotation
140- from unit_tests .vision ._fixtures import (LANDMARK_DETECTION_RESPONSE as
141- RETURNED )
141+ from unit_tests ._fixtures import (
142+ LANDMARK_DETECTION_RESPONSE as RETURNED )
143+
142144 credentials = _Credentials ()
143145 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
144146 client .connection = _Connection (RETURNED )
@@ -158,8 +160,9 @@ def test_landmark_detection_from_source(self):
158160
159161 def test_landmark_detection_from_content (self ):
160162 from google .cloud .vision .entity import EntityAnnotation
161- from unit_tests .vision ._fixtures import (LANDMARK_DETECTION_RESPONSE as
162- RETURNED )
163+ from unit_tests ._fixtures import (
164+ LANDMARK_DETECTION_RESPONSE as RETURNED )
165+
163166 credentials = _Credentials ()
164167 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
165168 client .connection = _Connection (RETURNED )
@@ -175,7 +178,7 @@ def test_landmark_detection_from_content(self):
175178
176179 def test_logo_detection_from_source (self ):
177180 from google .cloud .vision .entity import EntityAnnotation
178- from unit_tests .vision . _fixtures import LOGO_DETECTION_RESPONSE
181+ from unit_tests ._fixtures import LOGO_DETECTION_RESPONSE
179182 RETURNED = LOGO_DETECTION_RESPONSE
180183 credentials = _Credentials ()
181184 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
@@ -192,7 +195,7 @@ def test_logo_detection_from_source(self):
192195
193196 def test_logo_detection_from_content (self ):
194197 from google .cloud .vision .entity import EntityAnnotation
195- from unit_tests .vision . _fixtures import LOGO_DETECTION_RESPONSE
198+ from unit_tests ._fixtures import LOGO_DETECTION_RESPONSE
196199 RETURNED = LOGO_DETECTION_RESPONSE
197200 credentials = _Credentials ()
198201 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
@@ -209,8 +212,9 @@ def test_logo_detection_from_content(self):
209212
210213 def test_text_detection_from_source (self ):
211214 from google .cloud .vision .entity import EntityAnnotation
212- from unit_tests .vision ._fixtures import (TEXT_DETECTION_RESPONSE as
213- RETURNED )
215+ from unit_tests ._fixtures import (
216+ TEXT_DETECTION_RESPONSE as RETURNED )
217+
214218 credentials = _Credentials ()
215219 client = self ._makeOne (project = self .PROJECT , credentials = credentials )
216220 client .connection = _Connection (RETURNED )
@@ -230,7 +234,7 @@ def test_text_detection_from_source(self):
230234
231235 def test_safe_search_detection_from_source (self ):
232236 from google .cloud .vision .safe import SafeSearchAnnotation
233- from unit_tests .vision . _fixtures import SAFE_SEARCH_DETECTION_RESPONSE
237+ from unit_tests ._fixtures import SAFE_SEARCH_DETECTION_RESPONSE
234238
235239 RETURNED = SAFE_SEARCH_DETECTION_RESPONSE
236240 credentials = _Credentials ()
@@ -250,7 +254,7 @@ def test_safe_search_detection_from_source(self):
250254
251255 def test_image_properties_detection_from_source (self ):
252256 from google .cloud .vision .color import ImagePropertiesAnnotation
253- from unit_tests .vision . _fixtures import IMAGE_PROPERTIES_RESPONSE
257+ from unit_tests ._fixtures import IMAGE_PROPERTIES_RESPONSE
254258
255259 RETURNED = IMAGE_PROPERTIES_RESPONSE
256260 credentials = _Credentials ()
0 commit comments