def test_expand_unshortened_link(self):
        r = self.client.get('abcd')
        self.assertEqual(r.status_code, 302)
        # Redirect to index page
        assert "/" and "redirected" in r.data
dataset/ETHPy150Open itsnauman/shrt/test_shrt.py/TestShrt.test_expand_unshortened_link/original