Index: tools/telemetry/telemetry/page/all_page_actions.py |
diff --git a/tools/telemetry/telemetry/all_page_actions.py b/tools/telemetry/telemetry/page/all_page_actions.py |
similarity index 54% |
rename from tools/telemetry/telemetry/all_page_actions.py |
rename to tools/telemetry/telemetry/page/all_page_actions.py |
index ba063c65f8231aa6b7faaa3d19986cda5ab30966..68030697ddc5e477d70dd07a6a3365b642d39d5e 100644 |
--- a/tools/telemetry/telemetry/all_page_actions.py |
+++ b/tools/telemetry/telemetry/page/all_page_actions.py |
@@ -3,13 +3,15 @@ |
# found in the LICENSE file. |
import os |
-from telemetry import discover |
-from telemetry import page_action |
+from telemetry.test import discover |
+from telemetry.page import page_action |
-_page_action_classes = discover.Discover(os.path.dirname(__file__), |
- 'action', |
- page_action.PageAction, |
- import_error_should_raise=True) |
+_page_action_classes = discover.Discover( |
+ os.path.dirname(__file__), |
+ os.path.join(os.path.dirname(__file__), '..', '..'), |
+ 'action', |
+ page_action.PageAction, |
+ import_error_should_raise=True) |
def GetAllClasses(): |
return list(_page_action_classes.values()) |