コード例 #1
0
ファイル: test_pyml.py プロジェクト: Modulus/tool-suite
    def test_file_import_hasfile_is_expected_list(self):
        root_path = os.path.dirname(__file__)
        yml_file = os.path.join(root_path, "tools-list.yml")
        result = import_yml(yml_file)

        self.assertEqual(self.expected, result)
コード例 #2
0
ファイル: test_pyml.py プロジェクト: Modulus/tool-suite
    def test_file_import_hasfile_is_not_none(self):
        root_path = os.path.dirname(__file__)
        yml_file = os.path.join(root_path, "tools-list.yml")
        result = import_yml(yml_file)

        self.assertIsNotNone(result)