mirror of
https://github.com/shouptech/flask-tutorial.git
synced 2026-02-03 15:39:44 +00:00
Remove unneeded test stuff
This commit is contained in:
parent
4622b87a6f
commit
f4abfe88ab
1 changed files with 0 additions and 4 deletions
|
|
@ -8,10 +8,6 @@ from werkzeug.security import generate_password_hash
|
||||||
from flaskr import create_app
|
from flaskr import create_app
|
||||||
from flaskr.db import init_db, db, User, Post
|
from flaskr.db import init_db, db, User, Post
|
||||||
|
|
||||||
with open(os.path.join(os.path.dirname(__file__), 'data.sql'), 'rb') as f:
|
|
||||||
_data_sql = f.read().decode('utf8')
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def app():
|
def app():
|
||||||
db_fd, db_path = tempfile.mkstemp()
|
db_fd, db_path = tempfile.mkstemp()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue