Removed unnecessary unittest.TestCase.setUp/tearDown calls. (#8264)

This commit is contained in:
Mads Jensen
2020-09-19 10:38:40 +02:00
committed by GitHub
parent 71d9dfa86e
commit b551b6ee73
4 changed files with 0 additions and 9 deletions
-2
View File
@@ -185,8 +185,6 @@ class VerifyCertSetup(unittest.TestCase):
"""Refactoring for verification tests."""
def setUp(self):
super(VerifyCertSetup, self).setUp()
self.renewable_cert = mock.MagicMock()
self.renewable_cert.cert_path = SS_CERT_PATH
self.renewable_cert.chain_path = SS_CERT_PATH
-1
View File
@@ -326,7 +326,6 @@ class FileOutputDisplayTest(unittest.TestCase):
class NoninteractiveDisplayTest(unittest.TestCase):
"""Test non-interactive display. These tests are pretty easy!"""
def setUp(self):
super(NoninteractiveDisplayTest, self).setUp()
self.mock_stdout = mock.MagicMock()
self.displayer = display_util.NoninteractiveDisplay(self.mock_stdout)