示例#1
0
 def setUp(self):
     self.handle = SurveyCommand().handle
 def check_nothing_at_all(self, options):
     SurveyCommand.check_nothing_at_all(self, options)
     if not options["csv"] and not options["tex"] and not options["pdf"]:
         sys.exit("Nothing to do : add option --tex or --pdf, --csv,  or both.")
示例#3
0
 def check_nothing_at_all(self, options):
     SurveyCommand.check_nothing_at_all(options)
     if not options["csv"]:
         sys.exit("Nothing to do : add option --csv.")