Пример #1
0
    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()
Пример #2
0
    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()
Пример #3
0
 def _post_teardown(self):
     amo.set_user(None)
     clean_translations(None)  # Make sure queued translations are removed.
     super(TestCase, self)._post_teardown()
Пример #4
0
 def _post_teardown(self):
     amo.set_user(None)
     clean_translations(None)  # Make sure queued translations are removed.
     super(TestCase, self)._post_teardown()