diff --git a/ferrit/rest.py b/ferrit/rest.py index 87de1f6..bcccee3 100755 --- a/ferrit/rest.py +++ b/ferrit/rest.py @@ -25,7 +25,7 @@ PATCHSET_CREATED = {"change": {"branch": "master", "id": "I1", "number": "1", "owner": JDOE, - "project": "foo", + "project": "example", "status": "NEW", "subject": "create new patch", "url": "http://localhost:8181/1"}, @@ -42,7 +42,7 @@ PATCHSET_CREATED = {"change": {"branch": "master", "sizeDeletions": -15, "sizeInsertions": 29, "uploader": JDOE}, - "project": "foo", + "project": "example", "refName": "refs/heads/master", "type": "patchset-created", "uploader": JDOE} @@ -61,7 +61,7 @@ RECHECK = {"approvals": [{"description": "Verified", "id": "I1", "number": "690077", "owner": JDOE, - "project": "foo", + "project": "example", "status": "NEW", "subject": "create new patch", "topic": "test", @@ -80,7 +80,7 @@ RECHECK = {"approvals": [{"description": "Verified", "sizeDeletions": -15, "sizeInsertions": 29, "uploader": JDOE}, - "project": "foo", + "project": "example", "refName": "refs/heads/master", "type": "comment-added"} MERGED = {"change": {"branch": "master", @@ -88,7 +88,7 @@ MERGED = {"change": {"branch": "master", "id": "I1", "number": "1", "owner": JDOE, - "project": "foo", + "project": "example", "status": "MERGED", "subject": "create new patch", "topic": "test", @@ -108,7 +108,7 @@ MERGED = {"change": {"branch": "master", "sizeDeletions": -8, "sizeInsertions": 83, "uploader": JDOE}, - "project": "foo", + "project": "example", "refName": "refs/heads/master", "submitter": {"name": "CI", "username": "ci"},