From 9f8e53b27b9afda125ee26125b13bd53a3627328 Mon Sep 17 00:00:00 2001 From: Mandeep Singh Baines Date: Fri, 30 Jul 2010 16:37:45 -0700 Subject: [PATCH] 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 --- cros_mark_as_stable_unittest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cros_mark_as_stable_unittest.py b/cros_mark_as_stable_unittest.py index 8659910bcc..eab6f5857e 100755 --- a/cros_mark_as_stable_unittest.py +++ b/cros_mark_as_stable_unittest.py @@ -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)