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), |