[Patchew-devel] [PATCH] rest: Add endpoint from update-project-head
Paolo Bonzini
pbonzini at redhat.com
Tue May 29 12:14:34 UTC 2018
On 29/05/2018 14:07, Shubham Jain wrote:
> Two questions regarding the patch. I couldn't find the test case in the
> legacy update-head and hence couldn't think of how to test this.
You're right, the only test case for update-head uses patchew-cli to
invoke it. It's in commit ea3c69962a38c77c43672190dda314c56aaa983a.
tests/test_testing.py has some example of manipulating a git repository
from the tests. See for example add_file_and_commit and
test_tester_project.
Thanks,
Paolo
> Second, Is the data required in the POST correct? I mean, is there any
> other way we can feed the message ids?
More information about the Patchew-devel
mailing list