From 10ca8a3e8cdaa8681cac9e357cd823bf61e1565c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 08 2016 10:36:24 +0000 Subject: Adjust the unit-tests for the change in the JSON representation of a PR --- diff --git a/tests/test_pagure_flask_api_fork.py b/tests/test_pagure_flask_api_fork.py index d4cee86..c175ae4 100644 --- a/tests/test_pagure_flask_api_fork.py +++ b/tests/test_pagure_flask_api_fork.py @@ -112,6 +112,7 @@ class PagureFlaskApiForktests(tests.Modeltests): "commit_stop": None, "date_created": "1431414800", "id": 1, + "initial_comment": None, "project": { "date_created": "1431414800", "description": "test project #1", @@ -235,6 +236,7 @@ class PagureFlaskApiForktests(tests.Modeltests): "commit_stop": None, "date_created": "1431414800", "id": 1, + "initial_comment": None, "project": { "date_created": "1431414800", "description": "test project #1", diff --git a/tests/test_pagure_lib_git.py b/tests/test_pagure_lib_git.py index 38c026b..d29890d 100644 --- a/tests/test_pagure_lib_git.py +++ b/tests/test_pagure_lib_git.py @@ -691,7 +691,7 @@ new file mode 100644 index 0000000..60f7480 --- /dev/null +++ b/456 -@@ -0,0 +1,80 @@ +@@ -0,0 +1,81 @@ +{ + "assignee": null, + "branch": "master", @@ -703,6 +703,7 @@ index 0000000..60f7480 + "commit_stop": null, + "date_created": null, + "id": 1, ++ "initial_comment": null, + "project": { + "date_created": null, + "description": "test project for ticket",