Browse Source

Call the superclass tearDown in VolumeTest

Currently it doesn't actually seem to make any practical difference that this
is missing, but it seems like good practice to do so anyway, to be robust
against future test case changes which might require cleanup done in the super
class.

Signed-off-by: Ian Campbell <[email protected]>
Ian Campbell 9 năm trước cách đây
mục cha
commit
d6f70dddc7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      tests/integration/volume_test.py

+ 1 - 0
tests/integration/volume_test.py

@@ -18,6 +18,7 @@ class VolumeTest(DockerClientTestCase):
             except DockerException:
                 pass
         del self.tmp_volumes
+        super(VolumeTest, self).tearDown()
 
     def create_volume(self, name, driver=None, opts=None, external=None):
         if external and isinstance(external, bool):