~netlandish/django-wiki

27abef6eb147a3e267276c4e0ffbe1610eca9ae2 — Benjamin Bach 6 years ago a05028e + 7e70375
Merge pull request #850 from atombrella/duplicate_test_line

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>""")