~netlandish/django-wiki

7e703756b0f3e3af3de2b912dfa9fb04b0c239f3 — Mads Jensen 6 years ago a05028e
Removed a duplicate assert in the test-suite.
1 files changed, 1 insertions(+), 2 deletions(-)

M tests/core/test_models.py
M tests/core/test_models.py => tests/core/test_models.py +1 -2
@@ 2,7 2,7 @@ from django.apps import apps
from django.contrib.auth import get_user_model
from django.contrib.sites.models import Site
from django.test.testcases import TestCase
from wiki.compat import include, url
from wiki.compat import url
from wiki.conf import settings
from wiki.managers import ArticleManager
from wiki.models import Article, ArticleRevision, URLPath


@@ 135,4 135,3 @@ class ArticleModelTest(TestCase):
            article=a, title="test", content="# header"
        )
        self.assertEqual(a.get_cached_content(), """<h1 id="wiki-toc-header">header</h1>""")
        self.assertEqual(a.get_cached_content(), """<h1 id="wiki-toc-header">header</h1>""")