Add drop_collection for test_subclass_field_query
This commit is contained in:
parent
7580383d26
commit
92b9cb5d43
@ -4794,6 +4794,8 @@ class QuerySetTest(unittest.TestCase):
|
||||
class ScottishCat(Cat):
|
||||
folded_ears = BooleanField()
|
||||
|
||||
Animal.drop_collection()
|
||||
|
||||
Animal(is_mamal=False).save()
|
||||
Cat(is_mamal=True, whiskers_length=5.1).save()
|
||||
ScottishCat(is_mamal=True, folded_ears=True).save()
|
||||
|
Loading…
x
Reference in New Issue
Block a user