update tests for Flask

This commit is contained in:
dandds
2018-08-02 13:49:39 -04:00
parent 5987748898
commit 45b47c41bf
32 changed files with 468 additions and 482 deletions

View File

@@ -4,8 +4,8 @@ from atst.domain.exceptions import NotFoundError
@pytest.fixture()
def roles_repo(db):
return Roles(db)
def roles_repo(session):
return Roles(session)
def test_get_all_roles(roles_repo):