diff options
Diffstat (limited to 'chrome/test/pyautolib/pyauto.py')
-rw-r--r-- | chrome/test/pyautolib/pyauto.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py index 4113b3a..895985a 100644 --- a/chrome/test/pyautolib/pyauto.py +++ b/chrome/test/pyautolib/pyauto.py @@ -317,6 +317,8 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): if not _HasValidConsentFile(): client_id = hashlib.md5('abcdefgh').hexdigest() open(consent_file, 'w').write(client_id) + # This file must be owned by cronos:cronos! + os.chown(consent_file, 1000, 1000); assert _HasValidConsentFile(), 'Could not create %s' % consent_file @staticmethod |