コード例 #1
0
ファイル: test_wget.py プロジェクト: andrewhead/StackSkim
 def testDescribeValuedOptionWithNounAppended(self):
     msg = build_help("--config", "myfile")
     self.assertEqual(msg, "specify config file to use (FILE=myfile).")
コード例 #2
0
ファイル: test_wget.py プロジェクト: andrewhead/StackSkim
 def testDescribeOutputOption(self):
     msg = build_help("--output-document", "outfile")
     self.assertEqual(msg, "write documents to outfile.")
コード例 #3
0
ファイル: test_wget.py プロジェクト: andrewhead/StackSkim
 def testDescribeValuedOptionWithNounPrepended(self):
     msg = build_help("--include-directories", "mydir")
     self.assertEqual(msg, "mydir is a list of allowed directories.")
コード例 #4
0
ファイル: test_wget.py プロジェクト: andrewhead/StackSkim
 def testDescribeRecursiveOption(self):
     msg = build_help('--recursive')
     self.assertEqual(msg, "specify recursive download.")