Matthias Schoettle
Matthias Schoettle
I tracked this down to the use of the `transactional_db` fixture here https://github.com/wemake-services/django-test-migrations/blob/master/django_test_migrations/contrib/pytest_plugin.py#L32 Removing it does not work. The tests then fail with: ``` django.db.utils.OperationalError: cannot ALTER TABLE "" because...
I looked into `pytest-django` and found https://github.com/pytest-dev/pytest-django/pull/970 which added support for serialized rollback. I added `django_db_serialized_rollback` to the fixture. It ran fine with `--reuse-db` the first time but after running...
One of our developers ran into this issue again despite the change to always use `--create-db`. We use `pytest-randomly` and as soon as the migration tests run before other tests...
Can you post some logs? And what’s the order of `INSTALLED_APPS` and `MIDDLEWARE`?
Ended up running into the same issue. It happens when running `migrate` and a data migration is applied and therefore also when running tests (since migrations are run on the...
@jheld: Took me a while to get back to this. I am playing around with the signals and `EasyAuditMiddleware`. What I found out is the following: * the `request_started` signal...
No, haven't looked into this in a while but will need to soon. Is it possible that you upgraded Django and then it stopped working? Which version of Django are...
I have a template file containing the above block: ``` {% comment "foo" %} some commented out stuff {% endcomment %} ``` And a test function like this: ``` def...
Here is the referenced issue for the vscode mypy extension: https://github.com/microsoft/vscode-mypy/issues/262 Another example is "Function is missing a return type annotation" which also reports the entire range of the function...
Thanks @JelleZijlstra! I started by adding a test case which is in this draft PR: #17006. @shaperilio we can add the other ones you found as well. I found the...