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

Unified Diff: tools/telemetry/telemetry/internal/testing/dependency_test_dir/other_animals/moose/moose/moose_object.py

Issue 1347283006: Extend unittest to test follow-module behavior of find_dependencies.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate test method Created 5 years, 3 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/internal/testing/dependency_test_dir/other_animals/moose/moose/moose_object.py
diff --git a/tools/telemetry/telemetry/internal/testing/dependency_test_dir/other_animals/moose/moose/moose_object.py b/tools/telemetry/telemetry/internal/testing/dependency_test_dir/other_animals/moose/moose/moose_object.py
new file mode 100644
index 0000000000000000000000000000000000000000..2bdac5eade4a921d571c8e681ef6c6e64d8b68fa
--- /dev/null
+++ b/tools/telemetry/telemetry/internal/testing/dependency_test_dir/other_animals/moose/moose/moose_object.py
@@ -0,0 +1,13 @@
+# Copyright (c) 2015 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 horn import horn_object # pylint: disable=relative-import
+
+class Moose(object):
+ def __init__(self):
+ self._horn = horn_object.Horn()
+
+ def Run(self):
+ if self._horn.IsBig():
+ print 'I need to drop my horn! It is big!'

Powered by Google App Engine
This is Rietveld 408576698