diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2006-08-27 13:59:47 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2006-08-27 13:59:47 +0000 |
| commit | 97b9ad73b4889ffebb3da2239b472bbfd1600177 (patch) | |
| tree | 89acb1efa72ac38c1fc66709ef1f4e108876f10f /tests/modeltests/invalid_models | |
| parent | 77ab11be452d2da50925d5d2e3eed1b96ba7eca0 (diff) | |
Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/invalid_models')
| -rw-r--r-- | tests/modeltests/invalid_models/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/invalid_models/models.py b/tests/modeltests/invalid_models/models.py index eb305b4e92..5540c1bd5f 100644 --- a/tests/modeltests/invalid_models/models.py +++ b/tests/modeltests/invalid_models/models.py @@ -78,7 +78,7 @@ class SelfClashM2M(models.Model): -error_log = """invalid_models.fielderrors: "charfield": CharFields require a "maxlength" attribute. +model_errors = """invalid_models.fielderrors: "charfield": CharFields require a "maxlength" attribute. invalid_models.fielderrors: "floatfield": FloatFields require a "decimal_places" attribute. invalid_models.fielderrors: "floatfield": FloatFields require a "max_digits" attribute. invalid_models.fielderrors: "filefield": FileFields require an "upload_to" attribute. |
