| 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()
|
|
|