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

Unified Diff: tools/telemetry/telemetry/core/browser_options_unittest.py

Issue 659923003: Revert of [Telemetry] Always use ephemeral port chosen by Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/core/browser_options.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/browser_options_unittest.py
diff --git a/tools/telemetry/telemetry/core/browser_options_unittest.py b/tools/telemetry/telemetry/core/browser_options_unittest.py
index 09404e0df26214d95076db32a0f7e17d0090faf2..e49664a4e2a1d3a18af8f6a24cabdf5b5e671739 100644
--- a/tools/telemetry/telemetry/core/browser_options_unittest.py
+++ b/tools/telemetry/telemetry/core/browser_options_unittest.py
@@ -84,6 +84,13 @@
self.assertEquals(options.browser_options.extra_browser_args,
set(['--foo','--bar']))
+ def testUseDevToolsActivePort(self):
+ options = browser_options.BrowserFinderOptions()
+ parser = options.CreateParser()
+ parser.parse_args(['--use-devtools-active-port'])
+
+ self.assertEquals(options.browser_options.use_devtools_active_port, True)
+
def testMergeDefaultValues(self):
options = browser_options.BrowserFinderOptions()
options.already_true = True
« no previous file with comments | « tools/telemetry/telemetry/core/browser_options.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698