diff options
author | Chuck Short <chucks@redhat.com> | 2018-08-21 21:21:42 -0400 |
---|---|---|
committer | Chuck Short <chucks@redhat.com> | 2018-08-21 21:22:44 -0400 |
commit | eb32de45658bf2d587a4bf32b6baf312d263576a (patch) | |
tree | 0e831ffacfd91a8bfc0fcbdc69e6650e18e90f90 /oslo_i18n | |
parent | 1dcda293d25bff2bf4ed6d3c1567601d5722572e (diff) | |
download | oslo-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>
Diffstat (limited to 'oslo_i18n')
-rw-r--r-- | oslo_i18n/tests/test_gettextutils.py | 4 |
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') |