Fix and uncomment tests.

This commit is contained in:
Oleg Nykolyn
2019-01-31 21:35:35 +02:00
parent 55415458dc
commit 3ccecebe3f
2 changed files with 8 additions and 15 deletions

View File

@@ -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',