def _post_teardown(self): amo.set_user(None) clean_translations(None) # Make sure queued translations are removed. # Make sure we revert everything we might have changed to prefixers. amo.urlresolvers.clean_url_prefixes() super(BaseTestCase, self)._post_teardown()
def _post_teardown(self): amo.set_user(None) clean_translations(None) # Make sure queued translations are removed. super(TestCase, self)._post_teardown()