tests added
This commit is contained in:
10
tests/test_fixtures.py
Normal file
10
tests/test_fixtures.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
import pytest
|
||||
from flaskpages import create_app
|
||||
|
||||
@pytest.fixture
|
||||
def app():
|
||||
return create_app()
|
||||
@pytest.fixture
|
||||
def client(app):
|
||||
return app.test_client()
|
||||
Reference in New Issue
Block a user