Ejemplo n.º 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()
Ejemplo n.º 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()
Ejemplo n.º 3
0
 def _post_teardown(self):
     amo.set_user(None)
     clean_translations(None)  # Make sure queued translations are removed.
     super(TestCase, self)._post_teardown()
Ejemplo n.º 4
0
 def _post_teardown(self):
     amo.set_user(None)
     clean_translations(None)  # Make sure queued translations are removed.
     super(TestCase, self)._post_teardown()