Test models for pickled querysets have invalid code
|Reported by:||bmispelon||Owned by:||bmispelon|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The models located in tests/queryset_pickle/models.py use some defaults that can't actually be called.
This doesn't show when running the tests because no models are actually created so the problematic functions are never called.
The standalone_number function and the Numbers.get_static_number static method shouldn't actually take any parameter.
Change History (3)
comment:1 Changed 2 years ago by bmispelon
- Has patch set
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to bmispelon
- Patch needs improvement unset
- Status changed from new to assigned
comment:2 Changed 2 years ago by Baptiste Mispelon <bmispelon@…>
- Resolution set to fixed
- Status changed from assigned to closed