Skip to content

Commit

Permalink
Fixing commented out code lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
bergsalex committed Jul 12, 2024
1 parent fe43216 commit 9d14267
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/core/test_settings_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_settings_class_can_directly_set_database_uri():
SERVER="irrelevant",
USERNAME="also_irrelevant",
URI="postgresql://other_admin@non_localhost/",
NAME="somedb",
_env_file=None,
)

Expand All @@ -77,7 +76,7 @@ def test_settings_class_can_directly_set_database_uri():

# Check default values
assert settings.PASSWORD == "", "Default for PASSWORD should be an empty string"
# assert settings.NAME == "", "Default for NAME should be an empty string"
assert settings.NAME == "", "Default for NAME should be an empty string"
assert settings.PORT == 5432, "Default for PORT should be 5432"
assert isinstance(settings.URI, str), "URI should be a string"

Expand Down

0 comments on commit 9d14267

Please sign in to comment.