Merge branch '0.11-maintenance'

This commit is contained in:
Markus Unterwaditzer 2016-09-08 15:21:05 +02:00
commit 7132feb1a5
27 changed files with 98 additions and 52 deletions

View file

@ -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:

View file

@ -0,0 +1 @@
from flaskr import app

View file

@ -1,6 +0,0 @@
import sys, os
basedir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, basedir + '/../')
from flaskr import flaskr

View file

@ -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):