'Testing /sales/opportunity/view/'

def test_opportunity_view_out(self):

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