Loading autocnet/fileio/tests/test_structured_io.py +7 −0 Original line number Diff line number Diff line Loading @@ -3,11 +3,18 @@ import unittest from .. import io_yaml from .. import io_json try: import yaml missing = False except ImportError: missing = True from autocnet.examples import get_path class TestYAML(unittest.TestCase): @unittest.skipif(missing == True) def test_read(self): d = io_yaml.read_yaml(get_path('logging.yaml')) self.assertIn('handlers', d.keys()) Loading Loading
autocnet/fileio/tests/test_structured_io.py +7 −0 Original line number Diff line number Diff line Loading @@ -3,11 +3,18 @@ import unittest from .. import io_yaml from .. import io_json try: import yaml missing = False except ImportError: missing = True from autocnet.examples import get_path class TestYAML(unittest.TestCase): @unittest.skipif(missing == True) def test_read(self): d = io_yaml.read_yaml(get_path('logging.yaml')) self.assertIn('handlers', d.keys()) Loading