diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-01-04 14:42:42 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-01-04 14:49:01 +0100 |
commit | 0283674e5f88846fd12cfecf4d3d0793fbaf7179 (patch) | |
tree | 66edfd5734ed181d9b5e17972e0ae4a10e2e703e | |
parent | 72110f33e6c864cc2336e13b1208ac6bf53e4971 (diff) |
integration-test: Fix Polkit.test_removable_fs
Fix Polkit.test_removable_fs test case to run standalone, instead of assuming
that the previous test case already creates a file system.
-rwxr-xr-x | src/tests/integration-test | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/integration-test b/src/tests/integration-test index 105ea5e..47853e1 100755 --- a/src/tests/integration-test +++ b/src/tests/integration-test @@ -1452,8 +1452,9 @@ class Polkit(UDisksTestCase, test_polkitd.PolkitTestCase): self.assertEqual(block.get_property('id-label'), 'polkityes') def test_removable_fs(self): - '''Create FS on removable drive (allowed)''' + '''Mount FS on removable drive (allowed)''' + self.mkfs('ext4', 'polkityes') self.start_polkitd(['org.freedesktop.udisks2.filesystem-mount', 'org.freedesktop.udisks2.filesystem-mount-other-seat']) |