Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Upgrading flask-security fails tests #22

Closed
arnuschky opened this issue Jun 3, 2014 · 1 comment
Closed

Upgrading flask-security fails tests #22

arnuschky opened this issue Jun 3, 2014 · 1 comment

Comments

@arnuschky
Copy link

Upgrading flask-security beyond version 1.6.5 causes the tests to fail.
More specifically, login/logout doesn't seem to work. In the dashboard tests, the response always contains the full template, even if the user isn't logged in first, or if the user is logged out at the beginning of the test.

To reproduce:

pip install --upgrade Flask-Security==1.6.6
pip install --upgrade Flask-WTF==0.8
nosetests

(Second pip line is necessary else Flask-Security does complain about some missing imports. Not sure why pip pulls the wrong dependencies here.)

Any idea what might have changed between 1.6.5 and 1.6.6 that causes the tests to fail? Or is it really just due to the WTF forms? If yes, I don't understand how this influences _login() of the test module.

@arnuschky
Copy link
Author

Fixed in #23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant