summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <chucks@redhat.com>2018-08-21 21:21:42 -0400
committerChuck Short <chucks@redhat.com>2018-08-21 21:22:44 -0400
commiteb32de45658bf2d587a4bf32b6baf312d263576a (patch)
tree0e831ffacfd91a8bfc0fcbdc69e6650e18e90f90
parent1dcda293d25bff2bf4ed6d3c1567601d5722572e (diff)
downloadoslo-i18n-eb32de45658bf2d587a4bf32b6baf312d263576a.tar.gz
Remove unused code
self.stubs and self.mox were left over from oslotest changes, so remove them. Change-Id: I00871c45672fadee9e93722543612b0bd9d76aea Signed-off-by: Chuck Short <chucks@redhat.com>
-rw-r--r--oslo_i18n/tests/test_gettextutils.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/oslo_i18n/tests/test_gettextutils.py b/oslo_i18n/tests/test_gettextutils.py
index b38d0f1..6a30a95 100644
--- a/oslo_i18n/tests/test_gettextutils.py
+++ b/oslo_i18n/tests/test_gettextutils.py
@@ -20,7 +20,6 @@ import logging
from babel import localedata
import mock
from oslotest import base as test_base
-from oslotest import moxstubout
import six
from oslo_i18n import _factory
@@ -36,9 +35,6 @@ class GettextTest(test_base.BaseTestCase):
def setUp(self):
super(GettextTest, self).setUp()
- moxfixture = self.useFixture(moxstubout.MoxStubout())
- self.stubs = moxfixture.stubs
- self.mox = moxfixture.mox
# remember so we can reset to it later in case it changes
self._USE_LAZY = _lazy.USE_LAZY
self.t = _factory.TranslatorFactory('oslo_i18n.test')