def test_no_views_returns_correct_numbers(self):
        '''
        Test the no_views property returns the correct number of views.
        '''
        test_ticket = Ticket(user=self.test_user,
                             title='Views',
                             content='Test content')
        test_ticket.save()

        test_ticket = Ticket.objects.get(id=test_ticket.id)
        self.assertEqual(0, test_ticket.no_views)

        self.client.get(str(test_ticket.get_absolute_url()))
        test_ticket = Ticket.objects.get(id=test_ticket.id)
        self.assertEqual(1, test_ticket.no_views)