summaryrefslogtreecommitdiff
path: root/tests/multiple_database/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiple_database/tests.py')
-rw-r--r--tests/multiple_database/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py
index a403b9fd88..e39967ce78 100644
--- a/tests/multiple_database/tests.py
+++ b/tests/multiple_database/tests.py
@@ -840,8 +840,8 @@ class QueryTestCase(TestCase):
# Set a foreign key with an object from a different database
msg = (
- 'Cannot assign "<ContentType: book>": the current database router '
- 'prevents this relation.'
+ 'Cannot assign "<ContentType: multiple_database | book>": the '
+ 'current database router prevents this relation.'
)
with self.assertRaisesMessage(ValueError, msg):
review1.content_object = dive