def test_increases_click_count(self):
        url = ShortenedURL.objects.create(url='http://www.google.com')
        click_count = url.click_count
        self.client.get(
            reverse(
                'shortened_url_redirect',
                kwargs={'code': url.short_code}
            )
        )
        url = ShortenedURL.objects.get(pk=url.pk)
        self.assertEqual(url.click_count, click_count + 1)
view should increment click_count by one.
dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_views.py/ShortenedURLRedirectTest.test_increases_click_count