fix missing tearDown methods for numerous tests
This commit is contained in:
parent
a807137c3c
commit
f49ee80a7b
38 changed files with 109 additions and 2 deletions
|
|
@ -19,6 +19,9 @@ class TestAddVolume(unittest.TestCase):
|
|||
self.context.session.assertPerm = mock.MagicMock()
|
||||
self.context.session.assertLogin = mock.MagicMock()
|
||||
|
||||
def tearDown(self):
|
||||
mock.patch.stopall()
|
||||
|
||||
def test_add_volume_wrong_format(self):
|
||||
volume_name = 'volume-name+'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue