Skip to content

Commit e8f1aee

Browse files
committed
Fix paths
1 parent c03d35d commit e8f1aee

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/src/tests/test_authors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
def test_authors(db: sqlalchemy.engine.Connection):
11-
apply_migrations(db, [os.path.dirname(__file__) + "/../../../authors/postgresql/schema.sql"])
11+
apply_migrations(db, [os.path.dirname(__file__) + "/../authors/schema.sql"])
1212

1313
querier = query.Querier(db)
1414

@@ -32,7 +32,7 @@ def test_authors(db: sqlalchemy.engine.Connection):
3232

3333
@pytest.mark.asyncio
3434
async def test_authors_async(async_db: sqlalchemy.ext.asyncio.AsyncConnection):
35-
await apply_migrations_async(async_db, [os.path.dirname(__file__) + "/../../../authors/postgresql/schema.sql"])
35+
await apply_migrations_async(async_db, [os.path.dirname(__file__) + "/../authors/schema.sql"])
3636

3737
querier = query.AsyncQuerier(async_db)
3838

examples/src/tests/test_booktest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@pytest.mark.asyncio
1212
async def test_books(async_db: sqlalchemy.ext.asyncio.AsyncConnection):
13-
await apply_migrations_async(async_db, [os.path.dirname(__file__) + "/../../../booktest/postgresql/schema.sql"])
13+
await apply_migrations_async(async_db, [os.path.dirname(__file__) + "/../booktest/schema.sql"])
1414

1515
querier = query.AsyncQuerier(async_db)
1616

examples/src/tests/test_ondeck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@pytest.mark.asyncio
1313
async def test_ondeck(async_db: sqlalchemy.ext.asyncio.AsyncConnection):
14-
await apply_migrations_async(async_db, [os.path.dirname(__file__) + "/../../../ondeck/postgresql/schema"])
14+
await apply_migrations_async(async_db, [os.path.dirname(__file__) + "/../ondeck/schema"])
1515

1616
city_querier = city_queries.AsyncQuerier(async_db)
1717
venue_querier = venue_queries.AsyncQuerier(async_db)

0 commit comments

Comments
 (0)