add stubs for admin_changeset tests

This commit is contained in:
Maxim Kurnikov
2019-01-29 20:29:19 +03:00
parent ece2b87318
commit 978379c454
8 changed files with 28 additions and 17 deletions

View File

@@ -21,12 +21,16 @@ IGNORED_ERROR_PATTERNS = [
'Cannot infer type of lambda',
'Incompatible types in assignment (expression has type "Callable[',
'Invalid value for a to= parameter',
'Incompatible types in assignment (expression has type "FilteredChildAdmin", variable has type "ChildAdmin")',
re.compile(r'"Callable\[\[(Any(, )?)+\], Any\]" has no attribute'),
re.compile(r'"HttpResponseBase" has no attribute "[A-Za-z_]+"'),
re.compile(r'Incompatible types in assignment \(expression has type "Tuple\[\]", '
r'variable has type "Tuple\[[A-Za-z, ]+\]"'),
]
TESTS_DIRS = [
'absolute_url_overrides',
'admin_autodiscover'
'admin_autodiscover',
'admin_changelist',
]