From 6a99eaae35897518ed2090616e86d842c92dff73 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 19 Nov 2015 15:45:06 -0800 Subject: [PATCH] Fix a test for the new output format --- test/test_edit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_edit.py b/test/test_edit.py index 56a13525a..8e6ac6e7d 100644 --- a/test/test_edit.py +++ b/test/test_edit.py @@ -193,8 +193,8 @@ class EditCommandTest(unittest.TestCase, TestHelper): """Edit the yaml file appending an extra field to the first item, then apply changes.""" # append "foo: bar" to item with id == 1 - self.run_mocked_command({'replacements': {u'id: 1': - u'id: 1\nfoo: bar'}}, + self.run_mocked_command({'replacements': {u"id: '1'": + u"id: '1'\nfoo: bar"}}, # Apply changes. ['a'])