[Patchew-devel] [PATCH 0/2] rest: two otherwise unrelated patches :)

Paolo Bonzini posted 2 patches 5 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/patchew-ci tags/patchew/20180508143740.28409-1-pbonzini@redhat.com
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
[Patchew-devel] [PATCH 0/2] rest: two otherwise unrelated patches :)
Posted by Paolo Bonzini 5 years, 11 months ago
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