def test_addBeforeTrigger(self):
        self.event.addTrigger('before', self.trigger, self.arg)
        self.assertEqual(
            self.event.before,
            [(self.trigger, (self.arg,), {})])
Remove *all* values from the cache at once.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_internet.py/ThreePhaseEventTests.test_addBeforeTrigger--crossover with--dataset/ETHPy150Open grantjenks/python-diskcache/diskcache/djangocache.py/DjangoCache.clear