summaryrefslogtreecommitdiff
path: root/tests/sites_framework/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sites_framework/tests.py')
-rw-r--r--tests/sites_framework/tests.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/sites_framework/tests.py b/tests/sites_framework/tests.py
index 576dbfc7eb..6d2717457a 100644
--- a/tests/sites_framework/tests.py
+++ b/tests/sites_framework/tests.py
@@ -44,9 +44,8 @@ class CurrentSiteManagerChecksTests(SimpleTestCase):
errors = InvalidArticle.check()
expected = [
checks.Error(
- ("CurrentSiteManager could not find a field named "
- "'places_this_article_should_appear'."),
- hint=None,
+ "CurrentSiteManager could not find a field named "
+ "'places_this_article_should_appear'.",
obj=InvalidArticle.on_site,
id='sites.E001',
)
@@ -62,8 +61,8 @@ class CurrentSiteManagerChecksTests(SimpleTestCase):
errors = ConfusedArticle.check()
expected = [
checks.Error(
- "CurrentSiteManager cannot use 'ConfusedArticle.site' as it is not a ForeignKey or ManyToManyField.",
- hint=None,
+ "CurrentSiteManager cannot use 'ConfusedArticle.site' as it is "
+ "not a ForeignKey or ManyToManyField.",
obj=ConfusedArticle.on_site,
id='sites.E002',
)