mirror of
https://github.com/shouptech/flask-tutorial.git
synced 2026-02-03 07:29:42 +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.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
|
||||
def app():
|
||||
db_fd, db_path = tempfile.mkstemp()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue