Skip to content

Commit 5d7e11d

Browse files
committed
ruff fixes 2.0
1 parent 4151331 commit 5d7e11d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/database/test_db.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,7 @@ def test_submit_temp_logs_to_db_sqlite(self, mock_create_conn):
612612
mock_create_conn.return_value = (mock_connection, mock_cursor)
613613
mock_connection.in_transaction = False
614614

615-
with patch(
616-
"nettacker.database.db.send_submit_query", return_value=True
617-
):
615+
with patch("nettacker.database.db.send_submit_query", return_value=True):
618616
with patch("nettacker.database.db.Config") as mock_config:
619617
mock_config.settings.max_retries = 3
620618

0 commit comments

Comments
 (0)