File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,8 @@ def test_empty_postgres_options(self) -> None:
281281 assert "unix_socket_directories='/tmp/socket'" in command
282282 # Should not have trailing space before closing quote in -o parameter
283283 expected_opts = (
284- ' -o "-F -p 5432 -c log_destination=\ ' stderr\' '
285- ' -c logging_collector=off -c unix_socket_directories=\ ' /tmp/socket\' "'
284+ " -o \ " -F -p 5432 -c log_destination='stderr' "
285+ " -c logging_collector=off -c unix_socket_directories='/tmp/socket' \" "
286286 )
287287 assert expected_opts in command
288288
@@ -723,6 +723,6 @@ def test_windows_mixed_slashes(self) -> None:
723723
724724 command = executor .command
725725 # Paths with backslashes should be properly quoted
726- assert ' C:\\ Program Files\\ PostgreSQL\\ bin\\ pg_ctl.exe start' in command
726+ assert " C:\\ Program Files\\ PostgreSQL\\ bin\\ pg_ctl.exe start" in command
727727 assert '-D "C:\\ temp\\ data"' in command
728728 assert '-l "C:\\ temp\\ log.txt"' in command
You can’t perform that action at this time.
0 commit comments