Index: recipe_engine/unittests/fetch_test.py |
diff --git a/recipe_engine/unittests/fetch_test.py b/recipe_engine/unittests/fetch_test.py |
index caa355a7e4ee201cf00d9ba3da1dd548b3cf595f..78058e2b359f93d38711f152dd201a8081e9eaec 100755 |
--- a/recipe_engine/unittests/fetch_test.py |
+++ b/recipe_engine/unittests/fetch_test.py |
@@ -192,11 +192,11 @@ class TestGitiles(unittest.TestCase): |
@mock.patch('tarfile.open') |
@mock.patch('requests.get') |
def test_checkout(self, requests_get, tarfile_open, makedirs, rmtree): |
- proto_text = u""" |
-api_version: 1 |
-project_id: "foo" |
-recipes_path: "path/to/recipes" |
-""".lstrip() |
+ proto_text = u"""{ |
+ "api_version": 1, |
+ "project_id": "foo", |
+ "recipes_path": "path/to/recipes" |
+}""".lstrip() |
requests_get.side_effect = [ |
mock.Mock(text=u')]}\'\n{ "commit": "abc123" }', status_code=200), |
mock.Mock(text=base64.b64encode(proto_text), status_code=200), |