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

Unified Diff: tools/telemetry/unittest_data/test_simple_one_page_set.py

Issue 180873008: Add support for python pageset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove attributes from page constructor Created 6 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: tools/telemetry/unittest_data/test_simple_one_page_set.py
diff --git a/tools/telemetry/unittest_data/test_simple_one_page_set.py b/tools/telemetry/unittest_data/test_simple_one_page_set.py
new file mode 100644
index 0000000000000000000000000000000000000000..1da3dfeff1c0a294f4c6b09849379c082759d40c
--- /dev/null
+++ b/tools/telemetry/unittest_data/test_simple_one_page_set.py
@@ -0,0 +1,13 @@
+# Copyright (c) 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from telemetry.page.page_set import PageSet
+
+class TestSimpleOnePageSet(PageSet):
+ def __init__(self):
+ super(TestSimpleOnePageSet, self).__init__(
+ description='A pageset for testing purpose',
+ archive_data_file='data/test.json',
+ credentials_path='data/credential',
+ user_agent_type='desktop')
« no previous file with comments | « tools/telemetry/unittest_data/test_page_set.py ('k') | tools/telemetry/unittest_data/test_simple_two_page_set.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698