Module Import alias ImportFrom alias identifier Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num Num Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest cybox.common DEFAULT_DELIM DELIM N/A cybox.utils NormalizationTest N/A N/A unittest TestCase N/A test_encode_decode_lists N/A N/A self N/A N/A N/A a A long##comma##long##comma##time ago N/A b N/A A long long time ago N/A N/A N/A self assertEqual N/A N/A N/A cybox utils denormalize_from_xml a DELIM b N/A N/A N/A self assertEqual N/A N/A N/A cybox utils normalize_to_xml b DELIM a N/A test_delimiter_not_allowed_in_value N/A N/A self N/A N/A N/A string test string with a ##comma## in it N/A N/A N/A self assertRaises ValueError N/A N/A cybox utils normalize_to_xml string DELIM N/A test_normalize_string_with_nondefault_delimiter N/A N/A self N/A N/A N/A s N/A N/A N/A cybox utils normalize_to_xml N/A 1 2 3 , N/A N/A N/A self assertEqual 1,2,3 s N/A s N/A N/A N/A cybox utils normalize_to_xml N/A 1 2 3 - N/A N/A N/A self assertEqual 1-2-3 s N/A N/A N/A self assertRaises ValueError N/A N/A cybox utils normalize_to_xml N/A 1 2 3 1 N/A s N/A N/A N/A cybox utils normalize_to_xml N/A a b c , N/A N/A N/A self assertEqual a,b,c s N/A N/A N/A self assertRaises ValueError N/A N/A cybox utils normalize_to_xml N/A a,b b,c c,d , N/A N/A TestDictCache N/A N/A unittest TestCase N/A test_id_incrementing N/A N/A self N/A N/A N/A d N/A N/A N/A cybox utils DictCache N/A N/A N/A self assertEqual 0 N/A N/A d put a N/A N/A N/A self assertEqual 1 N/A N/A d put b N/A N/A N/A self assertEqual 3 N/A N/A d put c 3 N/A N/A N/A self assertEqual 2 N/A N/A d put d N/A N/A N/A self assertEqual 4 N/A N/A d put e N/A test_id_incrementing N/A N/A self N/A N/A N/A d N/A N/A N/A cybox utils DictCache N/A N/A N/A self assertEqual 0 N/A N/A d count N/A N/A N/A d put a N/A N/A N/A d put b N/A N/A N/A d put c N/A N/A N/A self assertEqual 3 N/A N/A d count N/A N/A N/A d clear N/A N/A N/A self assertEqual 0 N/A N/A d count N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main