Remove unnecessary setUp

This is to remove unncessary setUp to keep code clean.

Change-Id: Id424830253ee0cfef2965b6b22a4e29b1d40924d
This commit is contained in:
zhufl 2019-01-10 10:14:37 +08:00
parent 7e4087fb10
commit 3fa09d2534
1 changed files with 0 additions and 6 deletions

View File

@ -170,9 +170,6 @@ class TestClosingProxyHttp(TestClosingHttp):
class TestClosingHttpRedirects(base.TestCase):
def setUp(self):
super(TestClosingHttpRedirects, self).setUp()
def test_redirect_default(self):
connection = http.ClosingHttp()
self.assertTrue(connection.follow_redirects)
@ -183,9 +180,6 @@ class TestClosingHttpRedirects(base.TestCase):
class TestClosingProxyHttpRedirects(base.TestCase):
def setUp(self):
super(TestClosingProxyHttpRedirects, self).setUp()
def test_redirect_default(self):
connection = http.ClosingProxyHttp(proxy_url=PROXY_URL)
self.assertTrue(connection.follow_redirects)