Преглед изворни кода

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 година
родитељ
комит
d6f70dddc7
1 измењених фајлова са 1 додато и 0 уклоњено
  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):