This commit is contained in:
Tim Bentley 2015-10-16 17:17:38 +01:00
parent 58124c01d2
commit a5b8827c96
3 changed files with 3 additions and 4 deletions

View File

@ -288,7 +288,8 @@ def parse_options():
parser.add_argument('-l', '--log-level', dest='loglevel', default='warning', metavar='LEVEL',
help='Set logging to LEVEL level. Valid values are "debug", "info", "warning".')
parser.add_argument('-p', '--portable', dest='portable', action='store_true',
help='Specify if this should be run as a portable app, off a USB flash drive (not implemented).')
help='Specify if this should be run as a portable app, '
'off a USB flash drive (not implemented).')
parser.add_argument('-d', '--dev-version', dest='dev_version', action='store_true',
help='Ignore the version file and pull the version directly from Bazaar')
parser.add_argument('-s', '--style', dest='style', help='Set the Qt4 style (passed directly to Qt4).')

View File

@ -31,7 +31,7 @@ class TestInitFunctions(TestMixin, TestCase):
def parse_options_basic_test(self):
"""
Test the parse options process works
Test the parse options process works
"""
# GIVEN: a a set of system arguments.
@ -142,4 +142,3 @@ class TestInitFunctions(TestMixin, TestCase):
args = parse_options()
# THEN: the following fields will have been extracted.
self.assertEquals(args, None, 'The args should be None')

View File

@ -67,4 +67,3 @@ class TestAdvancedTab(TestCase, TestMixin):
self.assertEqual(2, len(settings_form.processes), 'Two post save processes should be created')
self.assertTrue("songs_config_updated" in settings_form.processes, 'The songs plugin should be called')
self.assertTrue("custom_config_updated" in settings_form.processes, 'The custom plugin should be called')