forked from orbit-oss/flask
Move tests
This commit is contained in:
parent
077d06df54
commit
3550b26071
55 changed files with 2 additions and 6 deletions
13
tests/test_apps/blueprintapp/apps/frontend/__init__.py
Normal file
13
tests/test_apps/blueprintapp/apps/frontend/__init__.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from flask import Blueprint, render_template
|
||||
|
||||
frontend = Blueprint('frontend', __name__, template_folder='templates')
|
||||
|
||||
|
||||
@frontend.route('/')
|
||||
def index():
|
||||
return render_template('frontend/index.html')
|
||||
|
||||
|
||||
@frontend.route('/missing')
|
||||
def missing_template():
|
||||
return render_template('missing_template.html')
|
||||
Loading…
Add table
Add a link
Reference in a new issue