mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-21 15:52:28 +00:00
use strict=false in blueprint tests
This commit is contained in:
parent
a5c135faac
commit
e324c730e2
@ -38,7 +38,7 @@ class BlueprintsTest(TestCase):
|
|||||||
"""Set up only once, and re-use in every individual test"""
|
"""Set up only once, and re-use in every individual test"""
|
||||||
cls.app = Flask("test_extensions")
|
cls.app = Flask("test_extensions")
|
||||||
cls.client = cls.app.test_client()
|
cls.client = cls.app.test_client()
|
||||||
cls.senpy = Senpy(default_plugins=True)
|
cls.senpy = Senpy(default_plugins=True, strict=False) # Ignore any optional plugins
|
||||||
cls.senpy.init_app(cls.app)
|
cls.senpy.init_app(cls.app)
|
||||||
cls.dir = os.path.join(os.path.dirname(__file__), "..")
|
cls.dir = os.path.join(os.path.dirname(__file__), "..")
|
||||||
cls.senpy.add_folder(cls.dir)
|
cls.senpy.add_folder(cls.dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user