Remove unnecessary setUp
setUp will be automatically called around each testcase, so this is to remove setUp that doing nothing additional than super to keep code clean. Change-Id: Ibc9eaf5f37af9df391c3b50e473e65d0dbdcfe6a
This commit is contained in:
parent
23ac68eb5f
commit
8ce4b465cc
@ -25,10 +25,6 @@ from muranoclient.tests.unit import fakes
|
||||
@mock.patch('muranoclient.common.http.requests.request')
|
||||
class HttpClientTest(testtools.TestCase):
|
||||
|
||||
# Patch os.environ to avoid required auth info.
|
||||
def setUp(self):
|
||||
super(HttpClientTest, self).setUp()
|
||||
|
||||
def test_http_raw_request(self, mock_request):
|
||||
headers = {'User-Agent': 'python-muranoclient'}
|
||||
mock_request.return_value = \
|
||||
|
Loading…
Reference in New Issue
Block a user