Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a9850b

Browse files
committed
fix test_options_5
1 parent21c811c commit6a9850b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/option_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ def test_options_5(self):
135135
self.assertEqual(1,0,"Expecting Error because of garbage in pg_probackup.conf.\n Output: {0}\n CMD: {1}".format(
136136
repr(self.output),self.cmd))
137137
exceptProbackupExceptionase:
138-
self.assertIn(
139-
'ERROR: Syntax error in " = INFINITE',
138+
self.assertRegex(
140139
e.message,
140+
'ERROR: Syntax error .* INFINITE',
141141
'\n Unexpected Error Message: {0}\n CMD: {1}'.format(repr(e.message),self.cmd))
142142

143143
self.clean_pb(backup_dir)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp