tests/gazette/locations/test_rs_porto_alegre.py ..
[100%]Traceback (most recent call last):


 "/usr/local/bin/pytest", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python3.6/site-packages/_pytest/config/__init__.py", line 76, in main

return config.hook.pytest_cmdline_main(config=config)


 "/usr/local/lib/python3.6/site-packages/pluggy/hooks.py", line 284, in __call__

return self._hookexec(self, self.get_hookimpls(), kwargs)


 "/usr/local/lib/python3.6/site-packages/pluggy/manager.py", line 67, in _hookexec

return self._inner_hookexec(hook, methods, kwargs)


 "/usr/local/lib/python3.6/site-packages/pluggy/manager.py", line 61, in <lambda>

firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,


 "/usr/local/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall

return outcome.get_result()


 "/usr/local/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result

raise ex[1].with_traceback(ex[2])


 "/usr/local/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall

res = hook_impl.function(*args)


 "/usr/local/lib/python3.6/site-packages/_pytest/main.py", line 218, in pytest_cmdline_main

return wrap_session(config, _main)


 "/usr/local/lib/python3.6/site-packages/_pytest/main.py", line 211, in wrap_session

session=session, exitstatus=session.exitstatus


 "/usr/local/lib/python3.6/site-packages/pluggy/hooks.py", line 284, in __call__

return self._hookexec(self, self.get_hookimpls(), kwargs)


 "/usr/local/lib/python3.6/site-packages/pluggy/manager.py", line 67, in _hookexec

return self._inner_hookexec(hook, methods, kwargs)


 "/usr/local/lib/python3.6/site-packages/pluggy/manager.py", line 61, in <lambda>

firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,


 "/usr/local/lib/python3.6/site-packages/pluggy/callers.py", line 203, in _multicall

gen.send(outcome)


 "/usr/local/lib/python3.6/site-packages/_pytest/terminal.py", line 627, in pytest_sessionfinish

outcome.get_result()


 "/usr/local/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result

raise ex[1].with_traceback(ex[2])


 "/usr/local/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall

res = hook_impl.function(*args)


 "/usr/local/lib/python3.6/site-packages/_pytest/stepwise.py", line 102, in pytest_sessionfinish

self.config.cache.set("cache/stepwise", [])
AttributeError: 'Config' object has no attribute 'cache'

Traceback (most recent call last):


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner

response = get_response(request)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/core/handlers/base.py", line 179, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view

return self.dispatch(request, *args, **kwargs)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/utils/decorators.py", line 43, in _wrapper

return bound_method(*args, **kwargs)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapper

return view(request, *args, **kwargs)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/allauth/account/views.py", line 592, in dispatch

return super(PasswordChangeView, self).dispatch(request, *args, **kwargs)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/views/generic/base.py", line 98, in dispatch

return handler(request, *args, **kwargs)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/allauth/account/views.py", line 91, in get

request, *args, **kwargs


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/views/generic/edit.py", line 133, in get

return self.render_to_response(self.get_context_data())


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/allauth/account/views.py", line 595, in render_to_response

if not self.request.user.has_usable_password():


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/utils/functional.py", line 241, in inner

return func(self._wrapped, *args)


 "/home/user/.local/share/virtualenvs/project_name/lib/python3.7/site-packages/django/utils/functional.py", line 241, in inner

return func(self._wrapped, *args)
AttributeError: 'AnonymousUser' object has no attribute 'has_usable_password'
