Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge "Split commands properly for bash completion test."

  • Loading branch information...
commit f03575a8c742cb789c89620fc171edd5e75d426d 2 parents d7f1a71 + 46cd432
Jenkins authored openstack-gerrit committed
Showing with 6 additions and 1 deletion.
  1. +6 −1 tests/test_shell.py
View
7 tests/test_shell.py
@@ -102,7 +102,12 @@ def test_help_no_options(self):
def test_bash_completion(self):
stdout, stderr = self.shell('bash-completion')
# just check we have some output
- required = ['--matching --wrap help secgroup-delete-rule --priority']
+ required = [
+ '.*--matching',
+ '.*--wrap',
+ '.*help',
+ '.*secgroup-delete-rule',
+ '.*--priority']
for r in required:
self.assertThat((stdout + stderr),
matchers.MatchesRegex(r, re.DOTALL | re.MULTILINE))
Please sign in to comment.
Something went wrong with that request. Please try again.