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>
This commit is contained in:
parent
1dcda293d2
commit
eb32de4565
@ -20,7 +20,6 @@ import logging
|
|||||||
from babel import localedata
|
from babel import localedata
|
||||||
import mock
|
import mock
|
||||||
from oslotest import base as test_base
|
from oslotest import base as test_base
|
||||||
from oslotest import moxstubout
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo_i18n import _factory
|
from oslo_i18n import _factory
|
||||||
@ -36,9 +35,6 @@ class GettextTest(test_base.BaseTestCase):
|
|||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
super(GettextTest, self).setUp()
|
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
|
# remember so we can reset to it later in case it changes
|
||||||
self._USE_LAZY = _lazy.USE_LAZY
|
self._USE_LAZY = _lazy.USE_LAZY
|
||||||
self.t = _factory.TranslatorFactory('oslo_i18n.test')
|
self.t = _factory.TranslatorFactory('oslo_i18n.test')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user