#1562 Use an in-memory SQLite database to run the tests
Merged 4 years ago by mprahl. Opened 4 years ago by mprahl.

@@ -41,8 +41,7 @@ 

  

  class TestConfiguration(BaseConfiguration):

      LOG_LEVEL = "debug"

-     SQLALCHEMY_DATABASE_URI = os.environ.get(

-         "DATABASE_URI", "sqlite:///{0}".format(os.path.join(os.getcwd(), "mbstest.db")))

+     SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URI", "sqlite:///:memory:")

      DEBUG = True

      MESSAGING = "in_memory"

      PDC_URL = "https://pdc.fedoraproject.org/rest_api/v1"