-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix preparations for testing of API.
- Loading branch information
1 parent
1fbfc78
commit 6091e14
Showing
4 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from sqlalchemy import text | ||
|
||
|
||
def test_db_running(db_session): | ||
def test_db_running(test_db_session): | ||
"""Test whether testing DB is running.""" | ||
assert db_session.execute('SELECT 1') | ||
assert test_db_session.execute(text('SELECT 1')) |