mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-09 19:31:54 +01:00
cros_mark_as_stable: fix unittests
Code was changed to add a CR. Fix tests to accomodate. BUG=5258 TEST=Unittests pass again. Change-Id: Iacdbffb14d14f60a43883db3ee12b99a5eeb9f65 Review URL: http://codereview.chromium.org/3014045
This commit is contained in:
parent
204f44d557
commit
9f8e53b27b
@ -169,7 +169,7 @@ class EBuildStableMarkerTest(mox.MoxTestBase):
|
||||
cros_mark_as_stable.fileinput.input(self.revved_ebuild_path,
|
||||
inplace=1).AndReturn(mock_file)
|
||||
m_file.write('EAPI=2')
|
||||
m_file.write('CROS_WORKON_COMMIT="my_id"')
|
||||
m_file.write('CROS_WORKON_COMMIT="my_id"\n')
|
||||
m_file.write('KEYWORDS="x86 arm"')
|
||||
m_file.write('src_unpack(){}')
|
||||
cros_mark_as_stable._RunCommand('git add ' + self.revved_ebuild_path)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user