File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
10
10
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" ])
12
12
13
13
querier = query .Querier (db )
14
14
@@ -32,7 +32,7 @@ def test_authors(db: sqlalchemy.engine.Connection):
32
32
33
33
@pytest .mark .asyncio
34
34
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" ])
36
36
37
37
querier = query .AsyncQuerier (async_db )
38
38
Original file line number Diff line number Diff line change 10
10
11
11
@pytest .mark .asyncio
12
12
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" ])
14
14
15
15
querier = query .AsyncQuerier (async_db )
16
16
Original file line number Diff line number Diff line change 11
11
12
12
@pytest .mark .asyncio
13
13
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" ])
15
15
16
16
city_querier = city_queries .AsyncQuerier (async_db )
17
17
venue_querier = venue_queries .AsyncQuerier (async_db )
You can’t perform that action at this time.
0 commit comments