@@ -39,7 +39,7 @@ def _callFUT(self):
3939
4040 def test_no_value (self ):
4141 import os
42- from unit_tests ._testing import _Monkey
42+ from google . cloud ._testing import _Monkey
4343
4444 environ = {}
4545 with _Monkey (os , getenv = environ .get ):
@@ -48,7 +48,7 @@ def test_no_value(self):
4848
4949 def test_value_set (self ):
5050 import os
51- from unit_tests ._testing import _Monkey
51+ from google . cloud ._testing import _Monkey
5252 from google .cloud .datastore .client import GCD_DATASET
5353
5454 MOCK_PROJECT = object ()
@@ -67,7 +67,7 @@ def _callFUT(self, project=None):
6767
6868 def _determine_default_helper (self , gcd = None , fallback = None ,
6969 project_called = None ):
70- from unit_tests ._testing import _Monkey
70+ from google . cloud ._testing import _Monkey
7171 from google .cloud .datastore import client
7272
7373 _callers = []
@@ -140,7 +140,7 @@ def _makeOne(self, project=PROJECT, namespace=None,
140140 http = http )
141141
142142 def test_ctor_w_project_no_environ (self ):
143- from unit_tests ._testing import _Monkey
143+ from google . cloud ._testing import _Monkey
144144 from google .cloud .datastore import client as _MUT
145145
146146 # Some environments (e.g. AppVeyor CI) run in GCE, so
@@ -149,7 +149,7 @@ def test_ctor_w_project_no_environ(self):
149149 self .assertRaises (EnvironmentError , self ._makeOne , None )
150150
151151 def test_ctor_w_implicit_inputs (self ):
152- from unit_tests ._testing import _Monkey
152+ from google . cloud ._testing import _Monkey
153153 from google .cloud .datastore import client as _MUT
154154 from google .cloud import client as _base_client
155155
@@ -494,7 +494,7 @@ def test_get_multi_hit_multiple_keys_different_project(self):
494494 client .get_multi ([key1 , key2 ])
495495
496496 def test_get_multi_max_loops (self ):
497- from unit_tests ._testing import _Monkey
497+ from google . cloud ._testing import _Monkey
498498 from google .cloud .datastore import client as _MUT
499499 from google .cloud .datastore .key import Key
500500
@@ -702,7 +702,7 @@ def test_key_w_project(self):
702702
703703 def test_key_wo_project (self ):
704704 from google .cloud .datastore import client as MUT
705- from unit_tests ._testing import _Monkey
705+ from google . cloud ._testing import _Monkey
706706
707707 KIND = 'KIND'
708708 ID = 1234
@@ -723,7 +723,7 @@ def test_key_wo_project(self):
723723
724724 def test_key_w_namespace (self ):
725725 from google .cloud .datastore import client as MUT
726- from unit_tests ._testing import _Monkey
726+ from google . cloud ._testing import _Monkey
727727
728728 KIND = 'KIND'
729729 ID = 1234
@@ -744,7 +744,7 @@ def test_key_w_namespace(self):
744744
745745 def test_key_w_namespace_collision (self ):
746746 from google .cloud .datastore import client as MUT
747- from unit_tests ._testing import _Monkey
747+ from google . cloud ._testing import _Monkey
748748
749749 KIND = 'KIND'
750750 ID = 1234
@@ -766,7 +766,7 @@ def test_key_w_namespace_collision(self):
766766
767767 def test_batch (self ):
768768 from google .cloud .datastore import client as MUT
769- from unit_tests ._testing import _Monkey
769+ from google . cloud ._testing import _Monkey
770770
771771 creds = object ()
772772 client = self ._makeOne (credentials = creds )
@@ -780,7 +780,7 @@ def test_batch(self):
780780
781781 def test_transaction_defaults (self ):
782782 from google .cloud .datastore import client as MUT
783- from unit_tests ._testing import _Monkey
783+ from google . cloud ._testing import _Monkey
784784
785785 creds = object ()
786786 client = self ._makeOne (credentials = creds )
@@ -812,7 +812,7 @@ def test_query_w_project(self):
812812
813813 def test_query_w_defaults (self ):
814814 from google .cloud .datastore import client as MUT
815- from unit_tests ._testing import _Monkey
815+ from google . cloud ._testing import _Monkey
816816
817817 creds = object ()
818818 client = self ._makeOne (credentials = creds )
@@ -830,7 +830,7 @@ def test_query_w_defaults(self):
830830
831831 def test_query_explicit (self ):
832832 from google .cloud .datastore import client as MUT
833- from unit_tests ._testing import _Monkey
833+ from google . cloud ._testing import _Monkey
834834
835835 KIND = 'KIND'
836836 NAMESPACE = 'NAMESPACE'
@@ -870,7 +870,7 @@ def test_query_explicit(self):
870870
871871 def test_query_w_namespace (self ):
872872 from google .cloud .datastore import client as MUT
873- from unit_tests ._testing import _Monkey
873+ from google . cloud ._testing import _Monkey
874874
875875 KIND = 'KIND'
876876 NAMESPACE = object ()
@@ -892,7 +892,7 @@ def test_query_w_namespace(self):
892892
893893 def test_query_w_namespace_collision (self ):
894894 from google .cloud .datastore import client as MUT
895- from unit_tests ._testing import _Monkey
895+ from google . cloud ._testing import _Monkey
896896
897897 KIND = 'KIND'
898898 NAMESPACE1 = object ()
0 commit comments