Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Unified Diff: telemetry/telemetry/internal/backends/chrome/cros_unittest.py

Issue 2651343002: CrOS: Make IsCryptohomeMounted compatible with ext4-encryption backend. (Closed)
Patch Set: Made the test more descriptive Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « telemetry/telemetry/core/cros_interface_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/backends/chrome/cros_unittest.py
diff --git a/telemetry/telemetry/internal/backends/chrome/cros_unittest.py b/telemetry/telemetry/internal/backends/chrome/cros_unittest.py
index 9ec2db983f1f78d8672f281b17b36f21a91f8da1..826bcaaf30be677966088db63c5bc0fd40b4b80b 100644
--- a/telemetry/telemetry/internal/backends/chrome/cros_unittest.py
+++ b/telemetry/telemetry/internal/backends/chrome/cros_unittest.py
@@ -22,6 +22,8 @@ class CrOSCryptohomeTest(cros_test_case.CrOSTestCase):
self.assertEquals(1, len(b.tabs))
self.assertTrue(b.tabs[0].url)
self.assertTrue(self._IsCryptohomeMounted())
+ self.assertTrue(
+ self._cri.IsCryptohomeMounted(self._username, self._is_guest))
# TODO(achuith): Remove dependency on /home/chronos/user.
chronos_fs = self._cri.FilesystemMountedAt('/home/chronos/user')
@@ -34,6 +36,8 @@ class CrOSCryptohomeTest(cros_test_case.CrOSTestCase):
self.assertEquals(crypto_fs, chronos_fs)
self.assertFalse(self._IsCryptohomeMounted())
+ self.assertFalse(
+ self._cri.IsCryptohomeMounted(self._username, self._is_guest))
self.assertEquals(self._cri.FilesystemMountedAt('/home/chronos/user'),
'/dev/mapper/encstateful')
« no previous file with comments | « telemetry/telemetry/core/cros_interface_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698