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