diff options
Diffstat (limited to 'tools/releasetools/test_build_image.py')
-rw-r--r-- | tools/releasetools/test_build_image.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/releasetools/test_build_image.py b/tools/releasetools/test_build_image.py index a2df27886a..6f853e8592 100644 --- a/tools/releasetools/test_build_image.py +++ b/tools/releasetools/test_build_image.py @@ -18,15 +18,15 @@ import filecmp import math import os.path import random -import unittest import common from build_image import ( AVBCalcMinPartitionSize, BLOCK_SIZE, BuildImageError, CheckHeadroom, SetUpInDirAndFsConfig) +from test_utils import ReleaseToolsTestCase -class BuildImageTest(unittest.TestCase): +class BuildImageTest(ReleaseToolsTestCase): # Available: 1000 blocks. EXT4FS_OUTPUT = ( @@ -39,9 +39,6 @@ class BuildImageTest(unittest.TestCase): self._image_sizes = [BLOCK_SIZE * random.randint(51200, 524288) + offset for offset in range(BLOCK_SIZE)] - def tearDown(self): - common.Cleanup() - def test_CheckHeadroom_SizeUnderLimit(self): # Required headroom: 1000 blocks. prop_dict = { |