summaryrefslogtreecommitdiff
path: root/tests/sites_framework/tests.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2016-03-10 18:21:25 +0100
committerClaude Paroz <claude@2xlibre.net>2016-03-19 09:24:27 +0100
commit983c158da7723eb00a376bd31db76709da4d0260 (patch)
treed5784910f91a4e8a5ee31bd376796c70b6463e37 /tests/sites_framework/tests.py
parent2b3a9414570af623853ca0f819c7d77d0511f22c (diff)
Refs #24227 -- Replaced M2M isinstance checks by field.many_to_many
Thanks Markus Holtermann, Collin Anderson and Tim Graham for the reviews.
Diffstat (limited to 'tests/sites_framework/tests.py')
-rw-r--r--tests/sites_framework/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sites_framework/tests.py b/tests/sites_framework/tests.py
index 6d2717457a..de37bb5a00 100644
--- a/tests/sites_framework/tests.py
+++ b/tests/sites_framework/tests.py
@@ -62,7 +62,7 @@ class CurrentSiteManagerChecksTests(SimpleTestCase):
expected = [
checks.Error(
"CurrentSiteManager cannot use 'ConfusedArticle.site' as it is "
- "not a ForeignKey or ManyToManyField.",
+ "not a foreign key or a many-to-many field.",
obj=ConfusedArticle.on_site,
id='sites.E002',
)