Add part of list to show audit trail by organization, still need to hook create to auto-establish the audit trail records.

This commit is contained in:
Michael DeHaan
2013-03-23 17:07:24 -04:00
parent cd0fee5406
commit 519b5ab77c
3 changed files with 5 additions and 4 deletions

View File

@@ -269,8 +269,9 @@ class OrganizationsTest(BaseTest):
org1_tags = self.get(org1_tags_url, expect=403, auth=self.get_other_credentials())
def test_get_item_subobjects_audit_trail(self):
# FIXME
pass
url = '/api/v1/organizations/2/audit_trail/'
self.get(url, expect=200, auth=self.get_normal_credentials())
# FIXME: verify that some audit trail records are auto-created on save AND post
def test_post_item(self):