Merge lp://staging/~cjohnston/ubuntu-ci-services-itself/ts-project into lp://staging/ubuntu-ci-services-itself

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 19
Merged at revision: 22
Proposed branch: lp://staging/~cjohnston/ubuntu-ci-services-itself/ts-project
Merge into: lp://staging/ubuntu-ci-services-itself
Diff against target: 375 lines (+316/-0)
8 files modified
ticket_system/project/__init__.py (+14/-0)
ticket_system/project/admin.py (+31/-0)
ticket_system/project/api.py (+42/-0)
ticket_system/project/migrations/0001_initial.py (+51/-0)
ticket_system/project/models.py (+38/-0)
ticket_system/project/tests.py (+136/-0)
ticket_system/ticket_system/settings.py (+1/-0)
ticket_system/ticket_system/urls.py (+3/-0)
To merge this branch: bzr merge lp://staging/~cjohnston/ubuntu-ci-services-itself/ts-project
Reviewer Review Type Date Requested Status
Andy Doan (community) Approve
Review via email: mp+198304@code.staging.launchpad.net

Commit message

Add project app and read API

To post a comment you must log in.
Revision history for this message
Andy Doan (doanac) wrote :

stuff like:

287 + resp = self.api_client.get('/api/v1/sourcepackage/', format='json')
288 + self.assertValidJSONResponse(resp)
289 + self.assertEqual(len(self.deserialize(resp)['objects']), 1)

could probably get folded into:

http://bazaar.launchpad.net/~canonical-ci-engineering/ubuntu-ci-services-itself/trunk/view/head:/ci-utils/ci_utils/tastypie/test.py

In particular it could probably work with the getResource method.

Revision history for this message
Andy Doan (doanac) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches