acceptance tests can login to site

This commit is contained in:
dandds
2018-10-02 12:59:19 -04:00
parent 04b0b1db0d
commit 5195b2d32d
2 changed files with 68 additions and 0 deletions

View File

@@ -11,6 +11,14 @@ from .live_server import LiveServer
from .browsers import BROWSERSTACK_CONFIG
@pytest.fixture(scope="function", autouse=True)
def session(db, request):
"""
Override base test session
"""
pass
@pytest.fixture(scope="session")
def live_app(app):
handler = RotatingFileHandler("log/acceptance.log", maxBytes=10000, backupCount=1)