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)