コード例 #1
0
ファイル: test_transform.py プロジェクト: pombreda/yay
 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
ファイル: test_transform.py プロジェクト: pombreda/yay
 def test_successful_dot(self):
     main(argv=["-f", "dot"], stdin=self.stream)
コード例 #3
0
ファイル: test_transform.py プロジェクト: pombreda/yay
 def test_successful_py(self):
     main(argv=["-f", "py"], stdin=self.stream)