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

Unified Diff: chrome/test/functional/plugins.py

Issue 10825006: Update pyauto tests to use content/test/data/plugin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/infobars.py ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/plugins.py
diff --git a/chrome/test/functional/plugins.py b/chrome/test/functional/plugins.py
index 6bc4ee3d50cf68f13ff8c0c0a39d29752f1dc23d..85ba29c8c197b34d0286b834bfe17412dbb9a6df 100755
--- a/chrome/test/functional/plugins.py
+++ b/chrome/test/functional/plugins.py
@@ -173,8 +173,8 @@ class PluginsTest(pyauto.PyUITest):
"""Verify that all the plugins can be blocked.
Verifying by checking that flash plugin was blocked.
"""
- flash_url = self.GetFileURLForPath(os.path.join(
- self.DataDir(), 'plugin', 'flash-clicktoplay.html'))
+ flash_url = self.GetFileURLForContentDataPath(
+ 'plugin', 'flash-clicktoplay.html')
self.NavigateToURL(flash_url)
flash_pid = self._GetPluginPID('Shockwave Flash')
self.assertTrue(flash_pid, msg='No plugin process for Shockwave Flash')
« no previous file with comments | « chrome/test/functional/infobars.py ('k') | chrome/test/pyautolib/pyauto.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698