Skip to content

Commit

Permalink
fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ychiucco committed Jun 13, 2024
1 parent e7c7e9c commit bb0275d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/no_version/test_unit_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ def test_settings_check(
# Create a Settings instance
settings = Settings(**settings_dict)

if DB_ENGINE != settings.DB_ENGINE:
if settings.DB_ENGINE in ["postgres", "postgres-psycopg"] and (
DB_ENGINE != settings.DB_ENGINE
):
raises = True

# Run Settings.check method
Expand Down

0 comments on commit bb0275d

Please sign in to comment.