CIME.tests.XML package

Submodules

CIME.tests.XML.test_expected_fails_file module

class CIME.tests.XML.test_expected_fails_file.TestExpectedFailsFile(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_basic()[source]

Basic test of the parsing of an expected fails file

test_invalid_file()[source]

Given an invalid file, an exception should be raised in schema validation

test_same_test_appears_twice()[source]

If the same test appears twice, its information should be appended.

This is not the typical, expected layout of the file, but it should be handled correctly in case the file is written this way.

Module contents