def setUp(self): super(TestGlanceContexts, self).setUp(contexts, TO_PATCH) from charmhelpers.core.hookenv import cache self.cache = cache cache.clear()