コード例 #1
0
ファイル: datastore.py プロジェクト: tbetbetbe/gcloud-python
def tearDownModule():
    if EMULATOR_DATASET is not None:
        clear_datastore.remove_all_entities(client=Config.CLIENT)
コード例 #2
0
def tearDownModule():
    if EMULATOR_DATASET is not None:
        clear_datastore.remove_all_entities(client=Config.CLIENT)
コード例 #3
0
ファイル: datastore.py プロジェクト: evmin/gcloud-python
 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)
コード例 #4
0
ファイル: datastore.py プロジェクト: taylorhxu/gcloud-python
 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)