Exemplo n.º 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)
Exemplo n.º 2
0
 def test_successful_dot(self):
     main(argv=["-f", "dot"], stdin=self.stream)
Exemplo n.º 3
0
 def test_successful_py(self):
     main(argv=["-f", "py"], stdin=self.stream)