Commit bd0cace8 authored by pgervais@chromium.org's avatar pgervais@chromium.org

Added os to input_api

BUG=
R=maruel@chromium.org

Review URL: https://codereview.chromium.org/614413003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292291 0039d316-1c4b-4281-b951-d872f2087c98
parent d629fb40
......@@ -292,6 +292,7 @@ class InputApi(object):
self.os_listdir = os.listdir
self.os_walk = os.walk
self.os_path = os.path
self.os_stat = os.stat
self.pickle = pickle
self.marshal = marshal
self.re = re
......
......@@ -1189,9 +1189,9 @@ class InputApiUnittest(PresubmitTestsBase):
'PresubmitLocalPath', 'ReadFile', 'RightHandSideLines', 'ServerPaths',
'basename', 'cPickle', 'cpplint', 'cStringIO', 'canned_checks', 'change',
'environ', 'glob', 'host_url', 'is_committing', 'json', 'logging',
'marshal', 'os_listdir', 'os_walk', 'os_path', 'owners_db', 'pickle',
'platform', 'python_executable', 're', 'rietveld', 'subprocess', 'tbr',
'tempfile', 'time', 'traceback', 'unittest', 'urllib2', 'version',
'marshal', 'os_listdir', 'os_walk', 'os_path', 'os_stat', 'owners_db',
'pickle', 'platform', 'python_executable', 're', 'rietveld', 'subprocess',
'tbr', 'tempfile', 'time', 'traceback', 'unittest', 'urllib2', 'version',
'verbose',
]
# If this test fails, you should add the relevant test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment