Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed test assertion strategy used in 04d9730.

  • Loading branch information...
commit b5391515cd9b3f2608ca41fa61471a04b771389a 1 parent 04d9730
@ramiro ramiro authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 tests/regressiontests/generic_relations_regress/tests.py
View
4 tests/regressiontests/generic_relations_regress/tests.py
@@ -106,9 +106,7 @@ def test_target_model_is_unsaved(self):
# Fails with another, ORM-level error
dev1 = Developer(name='Joe')
note = Note(note='Deserves promotion', content_object=dev1)
- self.assertRaisesMessage(IntegrityError,
- "generic_relations_regress_note.object_id may not be NULL",
- note.save)
+ self.assertRaises(IntegrityError, note.save)
def test_target_model_len_zero(self):
"""Test for #13085 -- __len__() returns 0"""
Please sign in to comment.
Something went wrong with that request. Please try again.