Esempio n. 1
0
def tearDownModule():
    if EMULATOR_DATASET is not None:
        clear_datastore.remove_all_entities(client=Config.CLIENT)
Esempio n. 2
0
def tearDownModule():
    if EMULATOR_DATASET is not None:
        clear_datastore.remove_all_entities(client=Config.CLIENT)
Esempio n. 3
0
 def tearDownClass(cls):
     # In the emulator, destroy the query entities.
     if EMULATOR_DATASET is not None:
         # Use the client for this test instead of the global.
         clear_datastore.remove_all_entities(client=cls.CLIENT)
Esempio n. 4
0
 def tearDownClass(cls):
     # In the emulator, destroy the query entities.
     if os.getenv(GCD_DATASET) is not None:
         # Use the client for this test instead of the global.
         clear_datastore.remove_all_entities(client=cls.CLIENT)