Revised the FlaskLoginTestCase test case to skip testing when Flask-Login 0.6.2 conflicts with Werkzeug 3.
This commit is contained in:
parent
1f657568bb
commit
cc96987a18
@ -101,6 +101,9 @@ class FlaskLoginTestCase(unittest.TestCase):
|
|||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
self.__has_flask_login = False
|
self.__has_flask_login = False
|
||||||
return
|
return
|
||||||
|
except ImportError:
|
||||||
|
self.__has_flask_login = False
|
||||||
|
return
|
||||||
|
|
||||||
login_manager: flask_login.LoginManager = flask_login.LoginManager()
|
login_manager: flask_login.LoginManager = flask_login.LoginManager()
|
||||||
login_manager.init_app(self.app)
|
login_manager.init_app(self.app)
|
||||||
|
Loading…
Reference in New Issue
Block a user