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

Unified Diff: tests/breakpad_unittest.py

Issue 8508017: Standardize the sys.path fix up and fix a few pylint warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Previous patchset was broken Created 9 years, 1 month 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 | « pylintrc ('k') | tests/checkout_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/breakpad_unittest.py
diff --git a/tests/breakpad_unittest.py b/tests/breakpad_unittest.py
index a561b871a163f03ec8e1b15ecde40f4f28addb9e..44a3ba844a82619011fa3abcb0f9fec5d7ee0dd8 100755
--- a/tests/breakpad_unittest.py
+++ b/tests/breakpad_unittest.py
@@ -5,9 +5,11 @@
"""Unit tests for breakpad.py."""
-# pylint: disable=W0403
+import os
+import sys
+
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-# Fixes include path.
from super_mox import SuperMoxTestBase
import breakpad
« no previous file with comments | « pylintrc ('k') | tests/checkout_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698