@@ -292,7 +292,7 @@ class _Key(object):
292292 self .assertEqual (kw ['path' ], COPY_PATH )
293293
294294 def test_upload_file_default_key (self ):
295- from gcloud .test_credentials import _Monkey
295+ from gcloud ._testing import _Monkey
296296 from gcloud .storage import bucket as MUT
297297 BASENAME = 'file.ext'
298298 FILENAME = '/path/to/%s' % BASENAME
@@ -312,7 +312,7 @@ def set_contents_from_filename(self, filename):
312312 self .assertEqual (_uploaded , [(bucket , BASENAME , FILENAME )])
313313
314314 def test_upload_file_explicit_key (self ):
315- from gcloud .test_credentials import _Monkey
315+ from gcloud ._testing import _Monkey
316316 from gcloud .storage import bucket as MUT
317317 FILENAME = '/path/to/file'
318318 KEY = 'key'
@@ -332,7 +332,7 @@ def set_contents_from_filename(self, filename):
332332 self .assertEqual (_uploaded , [(bucket , KEY , FILENAME )])
333333
334334 def test_upload_file_object_no_key (self ):
335- from gcloud .test_credentials import _Monkey
335+ from gcloud ._testing import _Monkey
336336 from gcloud .storage import bucket as MUT
337337 FILENAME = 'file.txt'
338338 FILEOBJECT = MockFile (FILENAME )
@@ -352,7 +352,7 @@ def set_contents_from_file(self, fh):
352352 self .assertEqual (_uploaded , [(bucket , FILENAME , FILEOBJECT )])
353353
354354 def test_upload_file_object_explicit_key (self ):
355- from gcloud .test_credentials import _Monkey
355+ from gcloud ._testing import _Monkey
356356 from gcloud .storage import bucket as MUT
357357 FILENAME = 'file.txt'
358358 FILEOBJECT = MockFile (FILENAME )
@@ -839,7 +839,7 @@ def test_make_public_w_future(self):
839839
840840 def test_make_public_recursive (self ):
841841 from gcloud .storage .acl import ACL
842- from gcloud .test_credentials import _Monkey
842+ from gcloud ._testing import _Monkey
843843 from gcloud .storage import iterator
844844 from gcloud .storage import bucket as MUT
845845 _saved = []
0 commit comments