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

Unified Diff: tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py

Issue 23602015: [Telemetry] discover.DiscoverClasses() does not add inherited classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable pylint error Created 7 years, 4 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
« no previous file with comments | « tools/telemetry/telemetry/core/discover_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
diff --git a/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py b/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
new file mode 100644
index 0000000000000000000000000000000000000000..f596d80cc5e33cfb7bde79086cea6ca585b9cf45
--- /dev/null
+++ b/tools/telemetry/unittest_data/discoverable_classes/another_discover_dummyclass.py
@@ -0,0 +1,16 @@
+# Copyright (c) 2013 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.
+
+"""Another dummy exception subclasses used by core/discover.py's unit tests."""
+
+# Import class instead of module explicitly so that inspect.getmembers() returns
+# two Exception subclasses in this current file.
+# Suppress complaints about unable to import class. The directory path is
+# added at runtime by telemetry test runner.
+#pylint: disable=F0401
+from discoverable_classes.discover_dummyclass import DummyException
+
+
+class AnotherDummyException(DummyException):
+ pass
« no previous file with comments | « tools/telemetry/telemetry/core/discover_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698