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

Unified Diff: chrome/test/pyautolib/pyauto.py

Issue 1191002: Add a few PyAuto tests for bookmarks.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « chrome/test/functional/bookmarks.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/pyautolib/pyauto.py
===================================================================
--- chrome/test/pyautolib/pyauto.py (revision 42350)
+++ chrome/test/pyautolib/pyauto.py (working copy)
@@ -129,6 +129,11 @@
def tearDown(self):
self.TearDown() # Destroy browser
+ @staticmethod
+ def DataDir():
+ """Returns the path to the data dir chrome/test/data."""
+ return os.path.join(os.path.dirname(__file__), os.pardir, "data")
+
def GetBookmarkModel(self):
"""Return the bookmark model as a BookmarkModel object.
« no previous file with comments | « chrome/test/functional/bookmarks.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698