Module Import alias ImportFrom alias alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call NameLoad keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Str Str Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad ListLoad Str Str attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad Call NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str Str attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad
N/A N/A unittest resync.mapper Mapper MapperError Map TestMapper N/A N/A unittest TestCase N/A test00_mapper_creation N/A N/A self N/A N/A N/A m1 N/A Mapper N/A http://e.org/p/ /tmp/q/ N/A N/A N/A self assertEqual N/A len m1 1 N/A m2 N/A Mapper mappings N/A http://e.org/p /tmp/q N/A N/A N/A self assertEqual N/A len m2 1 N/A N/A N/A self assertEqual N/A str m1 N/A str m2 N/A m3 N/A Mapper N/A http://e.org/p/=/tmp/q/ N/A N/A N/A self assertEqual N/A len m3 1 N/A N/A N/A self assertEqual N/A str m1 N/A str m3 N/A m4 N/A Mapper N/A http://e.org/p/=/tmp/q/ http://e.org/r/=/tmp/s/ N/A m5 N/A Mapper N/A http://e.org/r/=/tmp/s/ http://e.org/p/=/tmp/q/ N/A N/A N/A self assertEqual N/A len m4 2 N/A N/A N/A self assertEqual N/A len m5 2 N/A N/A N/A self assertNotEqual N/A str m4 N/A str m5 N/A test01_mapper_src_to_dst N/A N/A self N/A N/A N/A m N/A Mapper N/A http://e.org/p/ /tmp/q/ N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/p/ /tmp/q/ N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/p/aa /tmp/q/aa N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/p/aa/bb /tmp/q/aa/bb N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/p/aa/bb/ /tmp/q/aa/bb/ N/A N/A N/A self assertRaises MapperError N/A m src_to_dst http://e.org/p N/A N/A N/A self assertRaises MapperError N/A m src_to_dst http://e.org/pa N/A N/A N/A self assertRaises MapperError N/A m src_to_dst nomatch N/A test02_mapper_dst_to_src N/A N/A self N/A N/A N/A m N/A Mapper N/A http://e.org/p/ /tmp/q/ N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/q/ http://e.org/p/ N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/q/bb http://e.org/p/bb N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/q/bb/cc http://e.org/p/bb/cc N/A N/A N/A self assertRaises MapperError N/A m dst_to_src /tmp/q N/A N/A N/A self assertRaises MapperError N/A m dst_to_src /tmp/qa N/A N/A N/A self assertRaises MapperError N/A m dst_to_src nomatch N/A test03_mapper2_src_to_dst N/A N/A self N/A N/A N/A m N/A Mapper N/A http://e.org/p=/tmp/q http://e.org/r=/tmp/s N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/p/ /tmp/q/ N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/p/aa /tmp/q/aa N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/r/ /tmp/s/ N/A N/A N/A self assertEqual N/A N/A m src_to_dst http://e.org/r/aa /tmp/s/aa N/A test04_mapper2_dst_to_src N/A N/A self N/A N/A N/A m N/A Mapper N/A http://e.org/p=/tmp/q http://e.org/r=/tmp/s N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/q/ http://e.org/p/ N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/q/bb http://e.org/p/bb N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/s/ http://e.org/r/ N/A N/A N/A self assertEqual N/A N/A m dst_to_src /tmp/s/bb http://e.org/r/bb N/A test05_path_from_uri N/A N/A self N/A N/A N/A m N/A Mapper N/A N/A N/A self assertEqual N/A N/A m path_from_uri a_file a_file N/A N/A N/A self assertEqual N/A N/A m path_from_uri some_path/a_file some_path/a_file N/A N/A N/A self assertEqual N/A N/A m path_from_uri http://localhost/p localhost_p N/A N/A N/A self assertEqual N/A N/A m path_from_uri http://localhost:8888/p localhost_8888_p N/A N/A N/A self assertEqual N/A N/A m path_from_uri https://localhost:8888/p localhost_8888_p N/A N/A N/A self assertEqual N/A N/A m path_from_uri http://example.com example.com N/A N/A N/A self assertEqual N/A N/A m path_from_uri http://example.com/ example.com N/A N/A N/A self assertEqual N/A N/A m path_from_uri http://example.com/ex1 example.com_ex1 N/A N/A N/A self assertEqual N/A N/A m path_from_uri http://example.com/ex1/ example.com_ex1 N/A test06_mapper_unsafe N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A N/A N/A Mapper N/A http://example.com/=/tmp/a unsafe N/A N/A N/A self assertFalse N/A N/A N/A Mapper N/A http://example.com/=http://example.com/ unsafe N/A N/A N/A self assertFalse N/A N/A N/A Mapper N/A http://example.com/ use_default_path True unsafe N/A N/A N/A self assertTrue N/A N/A N/A Mapper N/A /tmp/a use_default_path True unsafe N/A N/A N/A self assertTrue N/A N/A N/A Mapper N/A http://example.com/=/tmp/a /tmp/a=/tmp unsafe N/A test07_default_src_uri N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A Mapper N/A a=b default_src_uri a N/A N/A N/A self assertEqual N/A N/A N/A Mapper N/A a=b b=c default_src_uri a N/A N/A N/A self assertRaises MapperError N/A N/A Mapper default_src_uri N/A test10_map_unsafe N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A N/A N/A Map http://example.com/ path unsafe N/A N/A N/A self assertFalse N/A N/A N/A Map http://example.com/ http://example.com/ unsafe N/A N/A N/A self assertFalse N/A N/A N/A Map a b unsafe N/A N/A N/A self assertFalse N/A N/A N/A Map path/a path/b unsafe N/A N/A N/A self assertTrue N/A N/A N/A Map path path unsafe N/A N/A N/A self assertTrue N/A N/A N/A Map path/a path unsafe N/A N/A N/A self assertTrue N/A N/A N/A Map path path/b unsafe N/A N/A N/A N/A __name__ __main__ N/A N/A suite N/A N/A N/A unittest defaultTestLoader loadTestsFromTestCase TestMapper N/A N/A N/A N/A N/A unittest TextTestRunner verbosity 2 run suite