Module Import alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Import alias Import alias ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str NameLoad Str Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list AttributeLoad NameLoad attr Expr Call NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list AttributeLoad NameLoad attr Expr Call NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys N/A _old_argv N/A list N/A sys argv N/A N/A N/A N/A sys argv extend N/A --config-value=flag_key=flag_value --config-value other_flag=other_value --config_value=undeclared_flag=who_cares N/A os.path N/A unittest openhtf conf N/A N/A N/A conf Declare flag_key N/A N/A N/A conf Declare other_flag N/A N/A N/A conf Declare json_test_key N/A N/A N/A conf Declare yaml_test_key N/A N/A N/A conf Declare overridden_key N/A N/A N/A conf Declare none_default default_value None N/A N/A N/A conf Declare string_default default_value default N/A N/A N/A conf Declare no_default tearDownModule N/A N/A N/A N/A N/A N/A sys argv _old_argv N/A TestConf N/A N/A unittest TestCase N/A N/A YAML_FILENAME N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ test_config.yaml N/A BAD_FORMAT N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ bad_config.txt N/A NOT_A_DICT N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ bad_config.yaml tearDown N/A N/A self N/A N/A N/A N/A N/A conf _flags config_file None N/A N/A N/A conf Reset N/A testYamlConfig N/A N/A self N/A N/A N/A N/A open N/A self YAML_FILENAME rb yamlfile N/A N/A N/A N/A conf _flags config_file yamlfile N/A N/A N/A conf Reset N/A N/A N/A self assertEquals yaml_test_value N/A conf yaml_test_key N/A testLoadOverride N/A N/A self N/A N/A N/A N/A N/A conf Load overridden_key overridden_value N/A N/A N/A conf Load overridden_key new_value N/A N/A N/A self assertEquals new_value N/A conf overridden_key N/A testLoadNoOverride N/A N/A self N/A N/A N/A N/A N/A conf Load overridden_key overridden_value N/A N/A N/A conf Load overridden_key new_value _override False N/A N/A N/A self assertEquals overridden_value N/A conf overridden_key N/A testLoadFromDict N/A N/A self N/A N/A N/A N/A N/A conf LoadFromDict N/A overridden_key new_value N/A N/A N/A self assertEquals new_value N/A conf overridden_key N/A testDefaults N/A N/A self N/A N/A N/A N/A N/A self assertEquals default N/A conf string_default N/A N/A N/A self assertIsNone N/A conf none_default N/A N/A N/A self assertRaises N/A conf UnsetKeyError N/A N/A N/A conf no_default N/A testFlagValues N/A N/A self N/A N/A N/A N/A N/A self assertEquals flag_value N/A conf flag_key N/A N/A N/A self assertEquals other_value N/A conf other_flag N/A N/A N/A conf Load flag_key loaded_value N/A N/A N/A self assertEquals flag_value N/A conf flag_key N/A testAsDict N/A N/A self N/A N/A N/A N/A N/A conf Load station_id station_id N/A N/A N/A self assertEquals N/A station_id string_default none_default flag_key other_flag station_id default None flag_value other_value N/A N/A conf _asdict N/A testUndeclared N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A conf UndeclaredKeyError N/A N/A N/A conf undeclared N/A testWeirdAttribute N/A N/A self N/A N/A N/A N/A N/A self assertRaises AttributeError N/A N/A N/A conf _dont_do_this N/A N/A N/A self assertRaises AttributeError N/A N/A N/A conf _dont_do_this_either None N/A testCantSetViaAttribute N/A N/A self N/A N/A N/A N/A N/A self assertRaises AttributeError N/A N/A N/A conf overridden_key None N/A testMultipleDeclaration N/A N/A self N/A N/A N/A N/A N/A conf Declare multiple N/A N/A N/A self assertRaises N/A conf KeyAlreadyDeclaredError N/A N/A N/A N/A conf Declare multiple N/A testInvalidKey N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A conf InvalidKeyError N/A N/A N/A N/A conf Declare _invalid N/A N/A N/A self assertRaises N/A conf InvalidKeyError N/A N/A N/A N/A conf Declare Invalid N/A testBadConfigFile N/A N/A self N/A N/A N/A N/A open N/A self NOT_A_DICT rb yamlfile N/A N/A N/A N/A conf _flags config_file yamlfile N/A N/A N/A self assertRaises N/A conf ConfigurationInvalidError N/A N/A N/A N/A conf Reset N/A N/A open N/A self BAD_FORMAT rb yamlfile N/A N/A N/A N/A conf _flags config_file yamlfile N/A N/A N/A self assertRaises N/A conf ConfigurationInvalidError N/A N/A N/A N/A conf Reset N/A testInjectPositionalArgs N/A N/A self N/A N/A TestFunction N/A N/A string_default no_default not_declared N/A N/A N/A N/A N/A self assertEquals default string_default N/A N/A N/A self assertEquals passed_value no_default N/A N/A N/A self assertEquals not_declared not_declared N/A N/A conf InjectPositionalArgs N/A N/A TestFunction no_default passed_value not_declared not_declared N/A testInjectPositionalArgsOverrides N/A N/A self N/A N/A TestFunction N/A N/A string_default none_default N/A new_default N/A N/A N/A N/A self assertEquals overridden string_default N/A N/A N/A self assertEquals new_default none_default N/A N/A conf InjectPositionalArgs N/A N/A TestFunction string_default overridden N/A testInjectPositionalArgsClass N/A N/A self N/A N/A TestClass N/A object N/A __init__ N/A N/A self string_default N/A N/A N/A N/A self string_default string_default N/A N/A conf InjectPositionalArgs N/A N/A instance N/A TestClass N/A N/A N/A self assertEquals default N/A instance string_default N/A N/A