diff options
Diffstat (limited to 'tests/multiple_database/tests.py')
-rw-r--r-- | tests/multiple_database/tests.py | 4 |
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 |