From 7e703756b0f3e3af3de2b912dfa9fb04b0c239f3 Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Wed, 7 Mar 2018 11:29:49 +0100 Subject: [PATCH] Removed a duplicate assert in the test-suite. --- tests/core/test_models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/core/test_models.py b/tests/core/test_models.py index 2f77c5af..4ad5a8a0 100644 --- a/tests/core/test_models.py +++ b/tests/core/test_models.py @@ -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(), """

header

""") - self.assertEqual(a.get_cached_content(), """

header

""") -- 2.45.2