Skip to content

Commit

Permalink
just skip broken sqlite test
Browse files Browse the repository at this point in the history
I think it was already broken
  • Loading branch information
RobertCraigie committed Aug 4, 2024
1 parent afddc7b commit 8bedbd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions databases/sync_tests/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def test_transaction_raises_original_error(client: Prisma) -> None:
raise RuntimeError('Test error!')


@pytest.mark.skipif(CURRENT_DATABASE == 'sqlite', reason='This is currently broken...')
def test_transaction_within_transaction_warning(client: Prisma) -> None:
"""A warning is raised if a transaction is started from another transaction client"""
tx1 = client.tx().start()
Expand Down
1 change: 1 addition & 0 deletions databases/tests/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ async def test_transaction_raises_original_error(client: Prisma) -> None:


@pytest.mark.asyncio
@pytest.mark.skipif(CURRENT_DATABASE == 'sqlite', reason='This is currently broken...')
async def test_transaction_within_transaction_warning(client: Prisma) -> None:
"""A warning is raised if a transaction is started from another transaction client"""
tx1 = await client.tx().start()
Expand Down

0 comments on commit 8bedbd8

Please sign in to comment.