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

Issue 10945043: [chrome_remote_control] Use monkey patching for stubs. (Closed)

Created:
8 years, 3 months ago by dtu
Modified:
8 years, 2 months ago
Reviewers:
nduca
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

[chrome_remote_control] Use monkey patching for stubs. system_stubs.Override class ensures that patches are temporary. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=159116

Patch Set 1 #

Total comments: 5

Patch Set 2 : Overrides handled in setUp() and tearDown(). #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : PyLint #

Messages

Total messages: 7 (0 generated)
dtu
8 years, 3 months ago (2012-09-20 00:29:55 UTC) #1
nduca
http://codereview.chromium.org/10945043/diff/1/tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py File tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py (right): http://codereview.chromium.org/10945043/diff/1/tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py#newcode22 tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py:22: self._subprocess_stub = SubprocessModuleStub() Where do you tear down? http://codereview.chromium.org/10945043/diff/1/tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py#newcode30 ...
8 years, 3 months ago (2012-09-20 04:18:30 UTC) #2
dtu
https://chromiumcodereview.appspot.com/10945043/diff/1/tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py File tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py (right): https://chromiumcodereview.appspot.com/10945043/diff/1/tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py#newcode22 tools/chrome_remote_control/chrome_remote_control/desktop_browser_finder_unittest.py:22: self._subprocess_stub = SubprocessModuleStub() On 2012/09/20 04:18:30, nduca wrote: > ...
8 years, 2 months ago (2012-09-25 02:01:50 UTC) #3
nduca
A few more nits. LGTM assuming you can get clean solutions to the comments below. ...
8 years, 2 months ago (2012-09-25 02:12:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/10945043/9001
8 years, 2 months ago (2012-09-25 23:23:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/10945043/9001
8 years, 2 months ago (2012-09-26 00:11:38 UTC) #6
commit-bot: I haz the power
8 years, 2 months ago (2012-09-26 00:42:25 UTC) #7
Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698