Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 28, 2025
1 parent 1c1c9ea commit 7849622
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_debug_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ def test_sqliterdb_debug_default(self) -> None:
def test_sqliterdb_debug_set_false(self) -> None:
"""Test that the default value for the debug flag is False."""
db = SqliterDB(":memory:", debug=False) # Set debug argument to False
assert (
db.debug is False
), "The debug flag should be False when explicitly passed as False."
assert db.debug is False, (
"The debug flag should be False when explicitly passed as False."
)

def test_sqliterdb_debug_set_true(self) -> None:
"""Test that the debug flag can be set to True."""
db = SqliterDB(":memory:", debug=True) # Set debug argument to True
assert (
db.debug is True
), "The debug flag should be True when explicitly passed as True."
assert db.debug is True, (
"The debug flag should be True when explicitly passed as True."
)

def test_debug_sql_output_basic_query(
self, db_mock_complex_debug: SqliterDB, caplog
Expand Down

0 comments on commit 7849622

Please sign in to comment.