Merge branch '0.11-maintenance'
This commit is contained in:
commit
7132feb1a5
27 changed files with 98 additions and 52 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
3. Instruct flask to use the right application
|
||||
|
||||
export FLASK_APP=flaskr.flaskr
|
||||
export FLASK_APP=flaskr
|
||||
|
||||
4. initialize the database with this command:
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
from flaskr import app
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
import sys, os
|
||||
|
||||
basedir = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, basedir + '/../')
|
||||
|
||||
from flaskr import flaskr
|
||||
|
|
@ -9,11 +9,11 @@
|
|||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
|
||||
import pytest
|
||||
import os
|
||||
import tempfile
|
||||
import pytest
|
||||
from flaskr import flaskr
|
||||
|
||||
from context import flaskr
|
||||
|
||||
@pytest.fixture
|
||||
def client(request):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue