mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 04:34:29 +08:00
Fix and uncomment tests.
This commit is contained in:
@@ -55,6 +55,8 @@ IGNORED_ERROR_PATTERNS = [
|
||||
'Argument 1 to "bytes"',
|
||||
'"full_clean" of "Model" does not return a value',
|
||||
'"object" not callable',
|
||||
'Item "GenericForeignKey" of "Union[GenericForeignKey, Model, None]" has no attribute "read_by"',
|
||||
'Item "Model" of "Union[GenericForeignKey, Model, None]" has no attribute "read_by"',
|
||||
re.compile('Cannot determine type of \'(objects|stuff|specimens|normal_manager)\''),
|
||||
re.compile(r'"Callable\[\[(Any(, )?)+\], Any\]" has no attribute'),
|
||||
re.compile(r'"HttpResponseBase" has no attribute "[A-Za-z_]+"'),
|
||||
@@ -215,9 +217,9 @@ TESTS_DIRS = [
|
||||
'or_lookups',
|
||||
'order_with_respect_to',
|
||||
'ordering',
|
||||
'prefetch_related',
|
||||
'pagination',
|
||||
# TODO: 'postgres_tests',
|
||||
# TODO: 'prefetch_related',
|
||||
'project_template',
|
||||
'properties',
|
||||
'proxy_model_inheritance',
|
||||
|
||||
Reference in New Issue
Block a user