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

Unified Diff: native_client_sdk/src/project_templates/init_project_test.py

Issue 10910101: fix pylint warnings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « native_client_sdk/src/project_templates/init_project.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/project_templates/init_project_test.py
diff --git a/native_client_sdk/src/project_templates/init_project_test.py b/native_client_sdk/src/project_templates/init_project_test.py
index 1fa2e09cda852fca5a7f09f8e5fa0808d8c3644b..ae1d0b291fe31ffcfe50ec9d4a62e491486fbdbb 100755
--- a/native_client_sdk/src/project_templates/init_project_test.py
+++ b/native_client_sdk/src/project_templates/init_project_test.py
@@ -87,6 +87,13 @@ class TestGlobalFunctions(unittest.TestCase):
class TestProjectInitializer(unittest.TestCase):
"""Class for test cases to cover public interface of ProjectInitializer."""
+ def __init__(self):
+ unittest.TestCase.__init__(self)
+ self.os_mock = None
+ self.fileinput_mock = None
+ self.sys_mock = None
+ self.shutil_mock = None
+
def setUp(self):
self.script_dir = os.path.abspath(os.path.dirname(__file__))
self.nacl_src_dir = os.getenv('NACL_SDK_ROOT', None)
« no previous file with comments | « native_client_sdk/src/project_templates/init_project.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698