Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults vararg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore TupleLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Str Str BinOpAdd NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TupleLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str NameLoad decorator_list decorator_list
N/A N/A os nose2.tests._common FunctionalTestCase nose2.tests._common TestCase nose2.tests._common support_file xml.etree ElementTree ET JunitXmlPluginFunctionalTest N/A FunctionalTestCase TestCase N/A N/A _RUN_IN_TEMP True run_with_junitxml_loaded N/A N/A self scenario N/A args N/A N/A work_dir N/A N/A os getcwd N/A test_dir N/A support_file scenario N/A junit_report N/A N/A N/A os path join work_dir nose2-junit.xml N/A config N/A N/A N/A os path join test_dir unittest.cfg N/A config_args N/A N/A N/A N/A N/A os path exists junit_report N/A N/A N/A N/A os remove junit_report N/A N/A N/A N/A os path exists config N/A N/A config_args N/A -c config N/A proc N/A N/A self runIn work_dir N/A -s%s test_dir --plugin=nose2.plugins.junitxml -v N/A config_args args N/A N/A junit_report proc N/A test_invocation_by_double_dash_option N/A N/A self N/A N/A N/A N/A junit_report proc N/A N/A self run_with_junitxml_loaded N/A scenario junitxml happyday --junit-xml N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_happyday.Test\) ... ok N/A N/A N/A self assertTestRunOutputMatches proc stderr Ran 1 test N/A N/A N/A self assertEqual N/A N/A proc poll 0 N/A N/A N/A self assertTrue N/A N/A N/A os path isfile junit_report N/A junitxml report wasn't found in working directory. Searched for  junit_report N/A test_invocation_by_single_dash_option N/A N/A self N/A N/A N/A N/A junit_report proc N/A N/A self run_with_junitxml_loaded N/A scenario junitxml happyday -X N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_happyday.Test\) ... ok N/A N/A N/A self assertTestRunOutputMatches proc stderr Ran 1 test N/A N/A N/A self assertEqual N/A N/A proc poll 0 N/A N/A N/A self assertTrue N/A N/A N/A os path isfile junit_report N/A junitxml report wasn't found in working directory. Searched for  junit_report N/A test_no_report_written_if_loaded_but_not_invoked N/A N/A self N/A N/A N/A N/A junit_report proc N/A N/A self run_with_junitxml_loaded N/A scenario junitxml happyday N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_happyday.Test\) ... ok N/A N/A N/A self assertTestRunOutputMatches proc stderr Ran 1 test N/A N/A N/A self assertEqual N/A N/A proc poll 0 N/A N/A N/A self assertFalse N/A N/A N/A os path isfile junit_report N/A junitxml report was found in working directory. Report file:  junit_report N/A test_report_location_should_be_resilent_to_chdir_in_tests N/A N/A self N/A N/A N/A N/A junit_report proc N/A N/A self run_with_junitxml_loaded N/A scenario junitxml chdir --junit-xml N/A N/A N/A self assertTestRunOutputMatches proc stderr test_chdir \(test_junitxml_chdir.Test\) \.* ok N/A N/A N/A self assertTestRunOutputMatches proc stderr Ran 1 test N/A N/A N/A self assertEqual N/A N/A proc poll 0 N/A N/A N/A self assertTrue N/A N/A N/A os path isfile junit_report N/A junitxml report wasn't found in working directory. Searched for  junit_report N/A test_report_includes_properties N/A N/A self N/A N/A N/A scenario N/A scenario junitxml with_properties N/A work_dir N/A N/A os getcwd N/A N/A open N/A N/A N/A os path join work_dir properties.json w fh N/A N/A N/A N/A fh write {"PROPERTY_NAME":"PROPERTY_VALUE"} N/A N/A junit_report proc N/A N/A self run_with_junitxml_loaded N/A scenario junitxml with_properties --junit-xml N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_with_properties.Test\) \.* ok N/A N/A N/A self assertEqual N/A N/A proc poll 0 N/A N/A open junit_report r fh N/A N/A tree N/A N/A N/A N/A ET parse fh getroot N/A N/A N/A self assertEqual N/A len N/A N/A tree findall properties 1 N/A prop N/A N/A N/A N/A tree find properties find property N/A N/A name N/A prop attrib N/A N/A value N/A prop attrib N/A N/A N/A self assertEqual N/A N/A prop get name PROPERTY_NAME N/A N/A N/A self assertEqual N/A N/A prop get value PROPERTY_VALUE N/A N/A JunitXmlPluginFunctionalFailureTest N/A FunctionalTestCase TestCase N/A test_failure_to_write_report N/A N/A self N/A N/A N/A proc N/A N/A self runIn scenario/junitxml/fail_to_write --plugin=nose2.plugins.junitxml -v --junit-xml N/A N/A N/A self assertEqual N/A N/A proc poll 1 N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_fail_to_write.Test\) \.* ok N/A filename_for_regex N/A N/A N/A os path abspath /does/not/exist.xml N/A filename_for_regex N/A N/A filename_for_regex replace \ \\\\ N/A N/A N/A self assertTestRunOutputMatches proc stderr N/A Internal Error: runTests aborted: \[Errno 2\] JUnitXML: Parent folder does not exist for file: '%s' filename_for_regex N/A test_failure_to_read_missing_properties N/A N/A self N/A N/A N/A proc N/A N/A self runIn scenario/junitxml/missing_properties --plugin=nose2.plugins.junitxml -v --junit-xml N/A N/A N/A self assertEqual N/A N/A proc poll 1 N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_missing_properties.Test\) \.* ok N/A filename_for_regex N/A N/A N/A os path join missing_properties properties.json N/A filename_for_regex N/A N/A filename_for_regex replace \ \\\\ N/A N/A N/A self assertTestRunOutputMatches proc stderr N/A Internal Error: runTests aborted: \[Errno 2\] JUnitXML: Properties file does not exist: '.*%s' filename_for_regex N/A test_failure_to_read_empty_properties N/A N/A self N/A N/A N/A proc N/A N/A self runIn scenario/junitxml/empty_properties --plugin=nose2.plugins.junitxml -v --junit-xml N/A N/A N/A self assertEqual N/A N/A proc poll 1 N/A N/A N/A self assertTestRunOutputMatches proc stderr test \(test_junitxml_empty_properties.Test\) \.* ok N/A filename_for_regex N/A N/A N/A os path join empty_properties properties.json N/A filename_for_regex N/A N/A filename_for_regex replace \ \\ N/A N/A N/A self assertTestRunOutputMatches proc stderr N/A Internal Error: runTests aborted: JUnitXML: could not decode file: '.*%s' filename_for_regex N/A N/A