fix releasetools_test
Some test cases are failing because tests are not updated accordinly. Bug: n/a Test: atest releasetools_test Change-Id: I3df071f72f01dedd6df4fa462ca52b8a0b1ffd4e
This commit is contained in:
parent
2992dccd43
commit
c4b7b34b4b
|
@ -196,7 +196,7 @@ class BuildImageTest(test_utils.ReleaseToolsTestCase):
|
|||
p.communicate()
|
||||
self.assertEqual(0, p.returncode)
|
||||
|
||||
fs_dict = GetFilesystemCharacteristics(output_file)
|
||||
fs_dict = GetFilesystemCharacteristics('ext4', output_file)
|
||||
self.assertEqual(int(fs_dict['Block size']), 4096)
|
||||
self.assertGreaterEqual(int(fs_dict['Free blocks']), 0) # expect ~88
|
||||
self.assertGreater(int(fs_dict['Inode count']), 0) # expect ~64
|
||||
|
|
|
@ -69,5 +69,5 @@ class SignApexTest(test_utils.ReleaseToolsTestCase):
|
|||
payload_key,
|
||||
container_key,
|
||||
False,
|
||||
codename_to_api_level_map={'S': 31})
|
||||
codename_to_api_level_map={'S': 31, 'Tiramisu' : 32})
|
||||
self.assertTrue(os.path.exists(signed_apex))
|
||||
|
|
Loading…
Reference in New Issue