Skip to content

Commit

Permalink
remove pytest.ini to not break pyproject.toml addopts
Browse files Browse the repository at this point in the history
  • Loading branch information
turb0c0w committed Apr 30, 2024
1 parent ec162a1 commit dacbf03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions strr-api/pytest.ini

This file was deleted.

8 changes: 4 additions & 4 deletions strr-api/src/strr_api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ class Testing(Config): # pylint: disable=too-few-public-methods

TESTING = True

DATABASE_TEST_USERNAME = os.getenv("DATABASE_TEST_USERNAME", "")
DATABASE_TEST_PASSWORD = os.getenv("DATABASE_TEST_PASSWORD", "")
DATABASE_TEST_NAME = os.getenv("DATABASE_TEST_NAME", "")
DATABASE_TEST_HOST = os.getenv("DATABASE_TEST_HOST", "")
DATABASE_TEST_USERNAME = os.getenv("DATABASE_TEST_USERNAME", "postgres")
DATABASE_TEST_PASSWORD = os.getenv("DATABASE_TEST_PASSWORD", "postgres")
DATABASE_TEST_NAME = os.getenv("DATABASE_TEST_NAME", "test")
DATABASE_TEST_HOST = os.getenv("DATABASE_TEST_HOST", "localhost")
DATABASE_TEST_PORT = int(os.getenv("DATABASE_TEST_PORT", "5432")) # POSTGRESQL

SQLALCHEMY_DATABASE_URI = (
Expand Down

0 comments on commit dacbf03

Please sign in to comment.