We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7695c2b commit 3cc5a72Copy full SHA for 3cc5a72
flask_parameter_validation/test/testing_application.py
@@ -24,6 +24,8 @@ def create_app():
24
app.register_blueprint(get_file_blueprint("file"))
25
for source_a in multi_source_sources:
26
for source_b in multi_source_sources:
27
- combined_name = f"ms_{source_a['name']}_{source_b['name']}"
28
- app.register_blueprint(get_multi_source_blueprint([source_a['class'], source_b['class']], combined_name))
+ if source_a["name"] != source_b["name"]:
+ # There's no reason to test multi-source with two of the same source
29
+ combined_name = f"ms_{source_a['name']}_{source_b['name']}"
30
+ app.register_blueprint(get_multi_source_blueprint([source_a['class'], source_b['class']], combined_name))
31
return app
0 commit comments