summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFabrice Douchant <Fabrice.Douchant@logilab.fr>2008-10-29 10:41:22 +0100
committerFabrice Douchant <Fabrice.Douchant@logilab.fr>2008-10-29 10:41:22 +0100
commitadf3c9846945356098aaa05f893308f5e691a879 (patch)
treeae1e16109f87f9f021424dbfde6a9a53f2e921f2 /test
parentb1d1d51d55f9a42c19f370a40ef07cea7737c197 (diff)
downloadlogilab-common-adf3c9846945356098aaa05f893308f5e691a879.tar.gz
[#2446] changing yn option in common.configuration : does not take y/n value anymore in sys.args.
Diffstat (limited to 'test')
-rw-r--r--test/unittest_configuration.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unittest_configuration.py b/test/unittest_configuration.py
index a60d6e7..a6b9037 100644
--- a/test/unittest_configuration.py
+++ b/test/unittest_configuration.py
@@ -57,7 +57,7 @@ class ConfigurationTC(TestCase):
def test_load_command_line_configuration(self):
cfg = self.cfg
args = cfg.load_command_line_configuration(['--choice', 'ye', '--number', '4',
- '--multiple=1,2,3', '--dothis=n',
+ '--multiple=1,2,3', '--dothis',
'other', 'arguments'])
self.assertEquals(args, ['other', 'arguments'])
self.assertEquals(cfg['dothis'], False)
@@ -198,7 +198,7 @@ named=key:val
Options:
-h, --help show this help message and exit
- --dothis=<y or n>
+ --dothis
-v<string>, --value=<string>
--multiple=<comma separated values>
you can also document the option [current: yop,yep]
@@ -215,7 +215,7 @@ Options:
options:
-h, --help show this help message and exit
- --dothis=<y or n>
+ --dothis
-v<string>, --value=<string>
--multiple=<comma separated values>
you can also document the option [current: yop,yep]
@@ -232,7 +232,7 @@ options:
options:
-h, --help show this help message and exit
- --dothis=<y or n>
+ --dothis
-v<string>, --value=<string>
--multiple=<comma separated values>
you can also document the option