# # Test the basics of the resource API. # fixtures: - ConfigFixture tests: - name: root of all desc: https://bugs.launchpad.net/gnocchi/+bug/1423986 url: / xfail: true response_headers: content-type: application/json-home - name: root of v1 desc: https://bugs.launchpad.net/gnocchi/+bug/1424627 url: /v1 xfail: true response_strings: - some hypermedia - name: root of resource desc: https://bugs.launchpad.net/gnocchi/+bug/1423990 xfail: true url: /v1/resource response_strings: - something useful here - name: instance resource desc: there are no instance resources yet url: /v1/resource/instance response_strings: - "[]" - name: generic resource desc: there are no generic resources yet url: /v1/resource/generic response_strings: - "[]" - name: post resource no user-id desc: https://bugs.launchpad.net/gnocchi/+bug/1424005 xfail: true url: /v1/resource/generic method: post request_headers: content-type: application/json data: id: f93450f2-d8a5-4d67-9985-02511241e7d1 started_at: "2014-01-03T02:02:02.000000" user_id: 0fbb2314-8461-4b1a-8013-1fc22f6afc9c project_id: f3d41b77-0cc1-4f0b-b94a-1d5be9c0e3ea status: 400 || 401 || 403 # what makes sense?