Fixed the test_logout test of the FlaskLoginTestCase test case to skip without Flask-Login.
This commit is contained in:
parent
491da61a79
commit
7e71115844
@ -221,6 +221,9 @@ class FlaskLoginTestCase(TestCase):
|
||||
|
||||
:return: None.
|
||||
"""
|
||||
if not self.has_flask_login:
|
||||
self.skipTest("Skipped without Flask-Login.")
|
||||
|
||||
admin_uri: str = self.app.url_for("admin-1")
|
||||
logout_uri: str = self.app.url_for("logout")
|
||||
response: Response
|
||||
|
Loading…
Reference in New Issue
Block a user