Skip to content

Commit

Permalink
remove dropping table from test
Browse files Browse the repository at this point in the history
  • Loading branch information
jirathip-k committed Oct 11, 2023
1 parent 714d4d4 commit 6416911
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ def upgrade() -> None:


def downgrade() -> None:
op.execute("DROP TABLE prompt_routes CASCADE")
op.drop_table("prompt_routes")
pass
1 change: 0 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def test_client():
print("Running tests...")
with TestClient(app) as testing_client:
yield testing_client
command.downgrade(alembic_config, "base")


def test_access_docs(test_client):
Expand Down

0 comments on commit 6416911

Please sign in to comment.