jazzband/django-model-utils

FieldTracker for AbstractModel children is still not stable

Open

#382 aperta il 5 ago 2019

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Python (370 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (2762 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Problem

I have found that AbstractModelTrackerTests is not quite correct. Since it inherited from FieldTrackerTestCase that just implements some extra assertions, there are no actual tests for this case.

Solution

I have fixed AbstractModelTrackerTests and it seems that some tests are failed for the case with models inherited from some AbstractModel with fields defined (like AbstractUser and its children)

#381 - pull request

Guida contributor