forked from orbit-oss/flask
Latest iteration of the blueprint code. Far from being done
This commit is contained in:
parent
673fa18e6d
commit
7a08331ac0
8 changed files with 304 additions and 274 deletions
|
|
@ -1192,6 +1192,7 @@ class ModuleTestCase(unittest.TestCase):
|
|||
from flask import Module
|
||||
|
||||
app = flask.Flask(__name__)
|
||||
app.testing = True
|
||||
app.url_map.add(Submount('/foo', [
|
||||
Rule('/bar', endpoint='bar'),
|
||||
Rule('/', endpoint='index')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue