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

Unified Diff: components/test/data/password_manager/automated_tests/run_tests.py

Issue 1022703004: [Password manager Python tests] Remove some dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@369521_remove_disabled_tests
Patch Set: Created 5 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
Index: components/test/data/password_manager/automated_tests/run_tests.py
diff --git a/components/test/data/password_manager/automated_tests/run_tests.py b/components/test/data/password_manager/automated_tests/run_tests.py
index ea6d84649d17bdeb3cc3559768961b112e99680f..a561c6aaf7f4c310023ee63f86cdae63ba3670b0 100644
--- a/components/test/data/password_manager/automated_tests/run_tests.py
+++ b/components/test/data/password_manager/automated_tests/run_tests.py
@@ -36,7 +36,6 @@ import subprocess
import tempfile
import time
-from environment import Environment
import tests
@@ -173,7 +172,6 @@ def run_tests(config_path):
for format description.
"""
- environment = Environment("", "", "", None, False)
defaults = {("run_options", "tests_in_parallel"): "1"}
config = ConfigParser.ConfigParser()
_apply_defaults(config, defaults)
@@ -194,8 +192,7 @@ def run_tests(config_path):
user_selected_tests = config.get("run_options", "tests_to_run").split(",")
tests_to_run = user_selected_tests
else:
- tests.Tests(environment)
- tests_to_run = [test.name for test in environment.websitetests]
+ tests_to_run = tests.all_tests.keys()
logger = logging.getLogger("run_tests")
logger.log(SCRIPT_DEBUG, "%d tests to run: %s", len(tests_to_run),

Powered by Google App Engine
This is Rietveld 408576698