'Testing /documents/view/<document_id>'

def test_document_view_out(self):

    response = self.client.get(reverse('documents_document_view', args=[self.document.id]))
    self.assertRedirects(response, reverse('user_login'))
