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

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

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 years, 10 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: 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())
« no previous file with comments | « tools/telemetry/telemetry/page/__init__.py ('k') | tools/telemetry/telemetry/page/block_page_benchmark_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698