Adding tests

This commit is contained in:
Amjad Mashaal
2016-03-21 01:12:59 +02:00
parent 4d6a1ee7ff
commit 6f25005559
4 changed files with 13 additions and 4 deletions
+3
View File
@@ -1244,6 +1244,9 @@ class HelpfulArgumentParser(object):
parsed_args.register_unsafely_without_email = True
if parsed_args.csr:
if parsed_args.allow_subset_of_names:
raise errors.Error("--allow-subset-of-names "
"cannot be used with --csr")
self.handle_csr(parsed_args)
if self.detect_defaults: # plumbing