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

Unified Diff: tools/telemetry/telemetry/page/record_wpr_unittest.py

Issue 469593002: [telemetry] Create BrowserTestCase to reuse the browser for browser_unittest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update page_test_test_case references in tools/perf/ Created 6 years, 4 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 | « tools/telemetry/telemetry/page/page_test_unittest.py ('k') | tools/telemetry/telemetry/testing/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/record_wpr_unittest.py
diff --git a/tools/telemetry/telemetry/page/record_wpr_unittest.py b/tools/telemetry/telemetry/page/record_wpr_unittest.py
index 61e9b7bf3bd726ddb4863eb979a7bde93470add6..85d60da4d4924bd2f0deb7a4ab4285f12979b5f7 100644
--- a/tools/telemetry/telemetry/page/record_wpr_unittest.py
+++ b/tools/telemetry/telemetry/page/record_wpr_unittest.py
@@ -93,9 +93,7 @@ class RecordWprUnitTests(tab_test_case.TabTestCase):
def setUpClass(cls):
sys.path.extend([cls._base_dir, cls._test_data_dir])
super(RecordWprUnitTests, cls).setUpClass()
- cls._browser.SetHTTPServerDirectories(util.GetUnittestDataDir())
- blank_html_path = os.path.join(util.GetUnittestDataDir(), 'blank.html')
- cls._url = cls._browser.http_server.UrlOf(blank_html_path)
+ cls._url = cls.UrlOfUnittestFile('blank.html')
# When the RecorderPageTest is created from a PageSet, we do not have a
# PageTest to use. In this case, we will record every available action.
« no previous file with comments | « tools/telemetry/telemetry/page/page_test_unittest.py ('k') | tools/telemetry/telemetry/testing/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698