Skip to content

Commit

Permalink
Fix typo in tests and missing comma in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Mar 27, 2023
1 parent d48766e commit 34234bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ACCEPT_EULA: "Y"
MSSQL_PID: "Developer"
ports:
- "1433:1433"
- 1433:1433

steps:
- uses: "actions/checkout@v3"
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
mysql+asyncmy://username:password@localhost:3306/testsuite,
postgresql://username:password@localhost:5432/testsuite,
postgresql+aiopg://username:password@127.0.0.1:5432/testsuite,
postgresql+asyncpg://username:password@localhost:5432/testsuite
postgresql+asyncpg://username:password@localhost:5432/testsuite,
mssql://sa:mssql123mssql@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server,
mssql+pyodbc://sa:mssql123mssql@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server,
mssql+aioodbc://sa:mssql123mssql@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server
Expand Down
2 changes: 1 addition & 1 deletion tests/test_databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ async def test_queries_with_expose_backend_connection(database_url):
cursor = await raw_connection.cursor()
await cursor.execute(select_query)
results = await cursor.fetchall()
elif database.url.scheme == "mysql+asyncmy" or data:
elif database.url.scheme == "mysql+asyncmy":
async with raw_connection.cursor() as cursor:
await cursor.execute(select_query)
results = await cursor.fetchall()
Expand Down

0 comments on commit 34234bb

Please sign in to comment.