

def test_absolute_url(self):
    exp_url = urlresolvers.reverse('satchmo_category', kwargs={
        'slug': self.womens_jewelry.slug,
    })
    self.assertEqual(self.womens_jewelry.get_absolute_url(), exp_url)

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py CategoryTest.test_absolute_url/original