File tree 1 file changed +8
-0
lines changed
sdk/cosmos/azure-cosmos/test
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2631,6 +2631,10 @@ def test_get_resource_with_dictionary_and_object(self):
2631
2631
self .assertEqual (read_permission .id , created_permission .id )
2632
2632
2633
2633
def test_create_container_with_analytical_store_off (self ):
2634
+ # don't run test, for the time being, if running against the emulator
2635
+ if 'localhost' in self .host or '127.0.0.1' in self .host :
2636
+ return
2637
+
2634
2638
created_db = self .databaseForTest
2635
2639
collection_id = 'test_create_container_with_analytical_store_off_' + str (uuid .uuid4 ())
2636
2640
collection_indexing_policy = {'indexingMode' : 'consistent' }
@@ -2644,6 +2648,10 @@ def test_create_container_with_analytical_store_off(self):
2644
2648
self .assertTrue (ttl_key not in properties or properties [ttl_key ] == None )
2645
2649
2646
2650
def test_create_container_with_analytical_store_on (self ):
2651
+ # don't run test, for the time being, if running against the emulator
2652
+ if 'localhost' in self .host or '127.0.0.1' in self .host :
2653
+ return
2654
+
2647
2655
created_db = self .databaseForTest
2648
2656
collection_id = 'test_create_container_with_analytical_store_on_' + str (uuid .uuid4 ())
2649
2657
collection_indexing_policy = {'indexingMode' : 'consistent' }
You can’t perform that action at this time.
0 commit comments