From ee5445dc61f9ac69c9b0246d262b8feeca2de92c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 21 2015 10:22:20 +0000 Subject: Adjust unit-tests for the change in the JSON representation of Pull-Requests --- diff --git a/tests/test_progit_flask_api_fork.py b/tests/test_progit_flask_api_fork.py index 5d9ba5c..81f7a7f 100644 --- a/tests/test_progit_flask_api_fork.py +++ b/tests/test_progit_flask_api_fork.py @@ -122,6 +122,7 @@ class PagureFlaskApiForktests(tests.Modeltests): "name": "pingou" } }, + "remote_git": None, "repo_from": { "date_created": "1431414800", "description": "test project #1", @@ -241,6 +242,7 @@ class PagureFlaskApiForktests(tests.Modeltests): "name": "pingou" } }, + "remote_git": None, "repo_from": { "date_created": "1431414800", "description": "test project #1", diff --git a/tests/test_progit_lib_git.py b/tests/test_progit_lib_git.py index fa22b7e..f1ba0ab 100644 --- a/tests/test_progit_lib_git.py +++ b/tests/test_progit_lib_git.py @@ -689,7 +689,7 @@ new file mode 100644 index 0000000..60f7480 --- /dev/null +++ b/456 -@@ -0,0 +1,75 @@ +@@ -0,0 +1,76 @@ +{ + "assignee": null, + "branch": "master", @@ -726,6 +726,7 @@ index 0000000..60f7480 + "name": "pingou" + } + }, ++ "remote_git": null, + "repo_from": { + "date_created": null, + "description": "test project for ticket",