'/documents/1 -> Test accessing the detail view of a document'

def test_document_details(self):

    d = Document.objects.get(pk=1)
    d.set_default_permissions()
    response = self.client.get(reverse('document_detail', args=(str(d.id),)))
    self.assertEquals(response.status_code, 200)
