示例#1
0
 def test_successful_yaml(self):
     try:
         import yaml  # noqa
     except ImportError:
         # Only run this test if yaml is available
         return
     main(argv=["-f", "yaml"], stdin=self.stream)
示例#2
0
 def test_successful_dot(self):
     main(argv=["-f", "dot"], stdin=self.stream)
示例#3
0
 def test_successful_py(self):
     main(argv=["-f", "py"], stdin=self.stream)