From df33afdb3c15f94f2e141eb6d69425a6332afbe5 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 22 Aug 2012 12:28:56 +0200 Subject: [PATCH] integration-test: Consistent mount path validation Do not require mount paths to be in /run/media/, leave that as an implementation detail (the code supports both cases). The other mount point tests already do this. --- src/tests/integration-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/integration-test b/src/tests/integration-test index cd3eee3..22bee38 100755 --- a/src/tests/integration-test +++ b/src/tests/integration-test @@ -806,7 +806,7 @@ class FS(UDisksTestCase): # mount mount_path = fs.call_mount_sync(no_options, None) - self.assertTrue(mount_path.startswith('/run/media/'), mount_path) + self.assertTrue('/media/' in mount_path) if label: self.assertTrue(mount_path.endswith(label)) -- 2.7.4