コード例 #1
0
def test_noarg_call():
    with pytest.raises(DocoptExit):
        yaml2ncml.main()
コード例 #2
0
ファイル: test_yaml2ncml.py プロジェクト: ocefpaf/yaml2ncml
 def test_noarg_call(self):
     with self.assertRaises(DocoptExit):
         yaml2ncml.main()
コード例 #3
0
ファイル: test_cli.py プロジェクト: ocefpaf/yaml2ncml
def test_noarg_call():
    with pytest.raises(SystemExit):
        yaml2ncml.main()