def test_noarg_call(): with pytest.raises(DocoptExit): yaml2ncml.main()
def test_noarg_call(self): with self.assertRaises(DocoptExit): yaml2ncml.main()
def test_noarg_call(): with pytest.raises(SystemExit): yaml2ncml.main()