

def test_hook_reverse(self):
    h = hook_models.Hook()
    h.url = 'http://www.example.com'
    self.assertEqual(reverse('index'), h.get_absolute_url())

dataset/ETHPy150Open fabric-bolt/fabric-bolt/fabric_bolt/web_hooks/tests/test_urls.py TestHooksURLS.test_hook_reverse/original