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

Unified Diff: cros_mark_as_stable_unittest.py

Issue 3682003: Update cros_mark_as_stable_unittest.py to pass again. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Created 10 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_mark_as_stable_unittest.py
diff --git a/cros_mark_as_stable_unittest.py b/cros_mark_as_stable_unittest.py
index 111cd83dd6a9ffaa4ff47ce20f20a91def93ce01..ce5152f5b5fefe8579f9a85b318fa30f46f1e552 100755
--- a/cros_mark_as_stable_unittest.py
+++ b/cros_mark_as_stable_unittest.py
@@ -116,9 +116,10 @@ class EBuildTest(mox.MoxTestBase):
def testFindEBuildPath(self):
self.mox.StubOutWithMock(cros_mark_as_stable, '_SimpleRunCommand')
- cros_mark_as_stable._SimpleRunCommand(
- 'equery-x86-generic which %s 2> /dev/null' % self.package).AndReturn(
- self.ebuild_path)
+ cmd = ('ACCEPT_KEYWORDS="x86 arm amd64" '
+ 'equery-x86-generic which %s 2> /dev/null')
+ cros_mark_as_stable._SimpleRunCommand(cmd % self.package).AndReturn(
+ self.ebuild_path)
self.mox.ReplayAll()
path = cros_mark_as_stable._EBuild._FindEBuildPath(self.package)
self.mox.VerifyAll()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698