fix missing tearDown methods for numerous tests

This commit is contained in:
Mike McLean 2024-03-29 19:41:03 -04:00 committed by Tomas Kopecek
parent a807137c3c
commit f49ee80a7b
38 changed files with 109 additions and 2 deletions

View file

@ -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+'