diff options
Diffstat (limited to 'tests/validation')
| -rw-r--r-- | tests/validation/models.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/validation/models.py b/tests/validation/models.py index 953370bc37..e8e18cfbce 100644 --- a/tests/validation/models.py +++ b/tests/validation/models.py @@ -130,4 +130,7 @@ try: auto2 = models.AutoField(primary_key=True) except AssertionError as exc: assertion_error = exc -assert str(assertion_error) == "Model validation.MultipleAutoFields can't have more than one AutoField." +assert str(assertion_error) == ( + "Model validation.MultipleAutoFields can't have more than one " + "auto-generated field." +) |
