test fix. Test options in order as per --help

This commit is contained in:
Phill Ridout 2015-01-24 10:21:13 +00:00
parent 14719b8ab3
commit 4a52a90a4e
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class TestInit(TestCase, TestMixin):
Test that parse_options parses short options correctly
"""
# GIVEN: A list of vaild short options
options = ['-e', 'extra', '-l', 'debug', 'qt', '-pd', 'args', '-s', 'style']
options = ['-e', '-l', 'debug', '-pd', '-s', 'style', 'extra', 'qt', 'args']
# WHEN: Calling parse_options
resluts = parse_options(options)