Diederik van der Boor
a3c9bcb14a
Merge remote branch 'meshy/new-test-versions'
2017-04-06 13:57:07 +02:00
Diederik van der Boor
d8cb700e58
Make sure tests can run in Django 1.11
2017-04-06 12:51:16 +02:00
Charlie Denton
aefb7dabc2
Django 1.11 uses real class names in __repr__()
...
See https://code.djangoproject.com/ticket/27546 and
https://github.com/django/django/commit/48826aa
2017-03-03 22:56:09 +00:00
Charlie Denton
8e52bdf6d1
Explicitly name ids of clashing base models
...
This avoids the following error in django 1.11 tests:
polymorphic.MRODerived: (models.E005) The field 'id' from parent model 'polymorphic.mrobase3' clashes with the field 'id' from parent model 'polymorphic.mrobase1'.
Related to https://code.djangoproject.com/ticket/22442
2017-03-03 22:16:54 +00:00
Diederik van der Boor
7dc2f93148
Added plain tests for admin importing
2017-02-03 22:05:13 +01:00
Diederik van der Boor
66619371fd
remove empty test_models.py file
2017-02-03 22:05:13 +01:00
Diederik van der Boor
add90aac4f
Replace assertEquals -> assertEqual
2017-01-09 15:14:55 +01:00
Diederik van der Boor
1f15a72a80
Moved polymorphic models back to tests/__init__.py, for Django 1.6-
2017-01-09 15:12:26 +01:00
Diederik van der Boor
b9f1709587
Update model paths in tests to new split test paths
2017-01-09 14:42:34 +01:00
Diederik van der Boor
9493bd8bc1
split tests.py into a python package
2017-01-09 14:41:56 +01:00