tests: update tests for all envs
tests: update tests for all envs

- use `assert Mock.called` instead of `Mock.assert_called()`
- correct flake8 complaints of imports order and long lines

bittner/django-allauth,lukeburden/django-allauth,rsalmaso/django-allauth,lukeburden/django-allauth,pennersr/django-allauth,bittner/django-allauth,lukeburden/django-allauth,pennersr/django-allauth,rsalmaso/django-allauth,rsalmaso/django-allauth,bittner/django-allauth,pennersr/django-allauth