A couple patches that can help proceeding with issue 75. They apply on
top of your latest series.
The first patch is just a cleanup of the test, the second introduces
a class for fine-grained permissions that will be useful to mimic the
old API.
Thanks,
Paolo
Based-on: <20180508115051.60844-1-shubhamjain7495@gmail.com>
Paolo Bonzini (2):
test: move sample POST body to a data file
rest: introduce generic permission framework
api/rest.py | 67 ++++++--
tests/data/0022-another-simple-patch.json.gz | Bin 0 -> 3730 bytes
tests/test_rest.py | 158 ++-----------------
3 files changed, 64 insertions(+), 161 deletions(-)
create mode 100644 tests/data/0022-another-simple-patch.json.gz
--
2.17.0
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel