Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaclarke committed May 14, 2021
1 parent d557b0d commit 88db250
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions conbench/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import subprocess

import pytest

from .. import create_application
Expand All @@ -10,12 +8,6 @@
@pytest.fixture(scope="session", autouse=True)
def create_db():
configure_engine(TestConfig.SQLALCHEMY_DATABASE_URI)

command = ["dropdb", TestConfig.DB_NAME, "-U", "postgres", "--if-exists"]
subprocess.run(command, capture_output=True)
command = ["createdb", TestConfig.DB_NAME, "-U", "postgres"]
subprocess.run(command, capture_output=True)

drop_all()
create_all()

Expand Down

0 comments on commit 88db250

Please sign in to comment.