Commit 930758a5 authored by Okhin's avatar Okhin
Browse files

Slightly improving the tag merging test

parent 3ef47c09
Pipeline #2644 passed with stages
in 3 minutes and 45 seconds
......@@ -216,7 +216,7 @@ class TestArticleViews(TestCase):
a = Article.objects.get(pk=pk)
assert r.status_code == 302 # We're redirecting to the view or preview of the article
assert a.title == 'Zog Zog'
assert set(a.tags.names()) == {"merged tag"}
assert set(a.tags.names()) == set(self.articles[0].tags.names()) | {"merged tag"}
class TestArticleApi(TestCase):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment