jazzband/django-model-utils

FieldTracker for AbstractModel children is still not stable

Open

#382 建立於 2019年8月5日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Python (370 fork)github user discovery
bughelp wanted

倉庫指標

Star
 (2,762 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南