Пример #1
0
    def test_isValidField_true(self):
        build_info = BuildInfo(self.buildinfo_file_path)

        for field in build_info.fields_defined:
            self.assertTrue(build_info.isValidField(field))
Пример #2
0
    def test_isValidField_false(self):
        build_info = BuildInfo(self.buildinfo_file_path)

        self.assertFalse(build_info.isValidField("field"))