Skip to content

Commit 3abbc5d

Browse files
committed
- fix auth_test
- add -W options to case: test_right_password_and_wrong_pgpass
1 parent 8de10e2 commit 3abbc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/auth_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_right_password_and_wrong_pgpass(self):
128128
create_pgpass(self.pgpass_file, line)
129129
try:
130130
self.assertIn("completed",
131-
str(run_pb_with_auth([self.pb.probackup_path] + self.cmd, 'password\r\n'))
131+
str(run_pb_with_auth([self.pb.probackup_path] + self.cmd + ['-W'], 'password\r\n'))
132132
)
133133
except (TIMEOUT, ExceptionPexpect) as e:
134134
self.fail(e.value)

0 commit comments

Comments
 (0)