X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..57d57a9da6eaa250ed9c49c3a569b78b69fdf9bd:/apps/catalogue/tests/tags.py diff --git a/apps/catalogue/tests/tags.py b/apps/catalogue/tests/tags.py index f9102a7c8..262821460 100644 --- a/apps/catalogue/tests/tags.py +++ b/apps/catalogue/tests/tags.py @@ -244,7 +244,7 @@ class TestIdenticalTag(WLTestCase): cats = self.client.get('/katalog/lektura/tag/').context['categories'] for category in 'author', 'kind', 'genre', 'epoch', 'theme': - self.assertTrue('tag' in [tag.name for tag in cats[category]], + self.assertTrue('tag' in [tag.slug for tag in cats[category]], 'missing related tag for %s' % category) def test_qualified_url(self):