Index: chrome/test/pyautolib/pyauto.py |
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py |
index 7a60d70bf96edeaa45fe2ba6fdc5ee7a226f2d2f..ede078a039274d750f9e94140b8d5b9d36dc6876 100755 |
--- a/chrome/test/pyautolib/pyauto.py |
+++ b/chrome/test/pyautolib/pyauto.py |
@@ -566,6 +566,13 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase): |
os.path.join(os.path.dirname(__file__), os.pardir, "data")) |
@staticmethod |
+ def ChromeOSDataDir(): |
+ """Returns the path to the data dir chromeos/test/data.""" |
+ return os.path.normpath( |
+ os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir, |
+ "chromeos", "test", "data")) |
+ |
+ @staticmethod |
def GetFileURLForPath(*path): |
"""Get file:// url for the given path. |