Skip to content

Commit 45b29e9

Browse files
committed
Update test assertions for PostgreSQL command formatting in test_executor.py
- Adjusted assertions in test_actual_postgresql_start_unix and test_actual_postgresql_start_darwin to check for correct formatting of the `unix_socket_directories` parameter, ensuring consistency in command output. These changes improve the accuracy of the tests related to PostgreSQL command execution.
1 parent 7f1e310 commit 45b29e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def test_actual_postgresql_start_unix(
353353
)
354354

355355
# Verify Unix template is used
356-
assert "unix_socket_directories=" in executor.command
356+
assert "unix_socket_directories='" in executor.command
357357
assert "log_destination='stderr'" in executor.command
358358

359359
# Start and stop PostgreSQL to verify it works
@@ -389,7 +389,7 @@ def test_actual_postgresql_start_darwin(
389389
)
390390

391391
# Verify Unix template is used
392-
assert "unix_socket_directories=" in executor.command
392+
assert "unix_socket_directories='" in executor.command
393393
assert "log_destination='stderr'" in executor.command
394394

395395
# Verify Darwin-specific locale is set

0 commit comments

Comments
 (0)