]>
Commit | Line | Data |
---|---|---|
e74d25cf JB |
1 | --- cliff-2.18.0/cliff/tests/test_help.py.orig 2024-01-16 20:13:24.252285303 +0100 |
2 | +++ cliff-2.18.0/cliff/tests/test_help.py 2024-01-16 20:49:44.113809312 +0100 | |
3 | @@ -107,7 +107,7 @@ class TestHelp(base.TestBase): | |
4 | help_text = stdout.getvalue() | |
5 | basecommand = os.path.split(sys.argv[0])[1] | |
6 | self.assertIn('usage: %s [--version]' % basecommand, help_text) | |
7 | - self.assertIn('optional arguments:\n --version', help_text) | |
8 | + self.assertRegex(help_text, 'option(s|al arguments):\n --version', help_text) | |
9 | expected = ( | |
10 | ' one Test command.\n' | |
11 | ' three word command Test command.\n' |