Add test for REST Service Provider GET and POST
authorRob Crittenden <rcritten@redhat.com>
Fri, 27 Feb 2015 03:33:20 +0000 (22:33 -0500)
committerSimo Sorce <simo@redhat.com>
Fri, 27 Feb 2015 21:14:51 +0000 (16:14 -0500)
commitfdfec436d3bccad9a2c165fccd4ad5de3d764c71
treeac5235f12ca2f00c6e5c1b879ea31da9b1061408
parent9d7e67b2034f52353ece73be072c0521402712aa
Add test for REST Service Provider GET and POST

Provision two Service Providers then test:

- We can fetch a blank list of SPs
- Add an SP via the admin interface
- We get list of all SPs and that is it
- Add an SP via POST
- We get list of all SPs and now there are two
- We get a specific SP and confirm we got the right one.

https://fedorahosted.org/ipsilon/ticket/26

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Makefile
tests/helpers/http.py
tests/testrest.py [new file with mode: 0755]