Module Expr Str ImportFrom alias ImportFrom alias If CompareEq SubscriptLoad NameLoad Slice Num Num TupleLoad Num Num body Import alias identifier orelse Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Str Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMult Num ListLoad Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Str Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMult Num ListLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMult Num ListLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A Tests for ipaddr generator. sys version_info fauxfactory gen_ipaddr N/A N/A N/A version_info N/A 0 2 N/A 2 6 N/A N/A unittest2 unittest N/A N/A unittest TestIpaddr N/A N/A unittest TestCase N/A N/A Test ipaddr generator. test_gen_ipv4_1 N/A N/A self N/A N/A N/A 
        @Test: Generate a 3 group IPv4 address
        @Feature: IPAddr Generator
        @Assert: A 3-group IPv4 address is generated (addr
                 will always end with a '.0')
         N/A result N/A gen_ipaddr ip3 True N/A N/A N/A self assertTrue N/A N/A N/A N/A result split . N/A -1 0 Did not generate a 3-group IPv4 addrss N/A test_gen_ipv4_2 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address
        @Feature: IPAddr Generator
        @Assert: A 4-group IPv4 address is generated
         N/A result N/A gen_ipaddr N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A test_gen_ipv4_3 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address
        @Feature: IPAddr Generator
        @Assert: A 4-group IPv4 address is generated
         N/A result N/A gen_ipaddr ip3 False N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A test_gen_ipv4_4 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address
        @Feature: IPAddr Generator
        @Assert: A 4-group IPv4 address is generated
         N/A result N/A gen_ipaddr ip3 False ipv6 False N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A test_gen_ipv4_5 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address with good prefix
        @Feature: IPAddr Generator
        @Assert: A 4-group IPv4 address is generated
         N/A result N/A gen_ipaddr ip3 False ipv6 False prefix N/A 10 N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A N/A N/A self assertTrue N/A N/A result startswith 10. N/A test_gen_ipv4_6 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address with good prefix
        @Feature: IPAddr Generator
        @Assert: A 4-group IPv4 address is generated
         N/A result N/A gen_ipaddr ip3 False ipv6 False prefix N/A 10 10 N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A N/A N/A self assertTrue N/A N/A result startswith 10.10. N/A test_gen_ipv4_7 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address with good prefix
        @Feature: IPAddr Generator
        @Assert: A 4-group IPv4 address is generated
         N/A result N/A gen_ipaddr ip3 False ipv6 False prefix N/A 10 10 10 N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A N/A N/A self assertTrue N/A N/A result startswith 10.10.10. N/A test_gen_ipv4_8 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address with prefix disabling randomness
        @Feature: IPAddr Generator
        @Assert: An exception is raised
         N/A N/A N/A self assertRaises ValueError N/A N/A N/A gen_ipaddr ip3 False ipv6 False prefix N/A 10 10 10 10 N/A test_gen_ipv4_9 N/A N/A self N/A N/A N/A 
        @Test: Generate a 4 group IPv4 address with prefix too long
        @Feature: IPAddr Generator
        @Assert: An exception is raised
         N/A N/A N/A self assertRaises ValueError N/A N/A N/A gen_ipaddr ip3 False ipv6 False prefix N/A 10 10 10 10 10 N/A test_gen_ipv4_10 N/A N/A self N/A N/A N/A 
        @Test: Generate a 3 group IPv4 address with good prefix
        @Feature: IPAddr Generator
        @Assert: A 3-group IPv4 address is generated
         N/A result N/A gen_ipaddr ip3 True ipv6 False prefix N/A 10 10 N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split . 4 Did not generate a 4-group IPv4 addrss N/A N/A N/A self assertTrue N/A N/A result startswith 10.10. N/A N/A N/A self assertTrue N/A N/A result endswith .0 N/A test_gen_ipv4_11 N/A N/A self N/A N/A N/A 
        @Test: Generate a 3 group IPv4 address with prefix disabling randomness
        @Feature: IPAddr Generator
        @Assert: An exception is raised
         N/A N/A N/A self assertRaises ValueError N/A N/A N/A gen_ipaddr ip3 True ipv6 False prefix N/A 10 10 10 N/A test_gen_ipv4_12 N/A N/A self N/A N/A N/A 
        @Test: Generate a 3 group IPv4 address with prefix too long
        @Feature: IPAddr Generator
        @Assert: An exception is raised
         N/A N/A N/A self assertRaises ValueError N/A N/A N/A gen_ipaddr ip3 True ipv6 False prefix N/A 10 10 10 10 N/A test_gen_ipv6_1 N/A N/A self N/A N/A N/A 
        @Test: Generate a IPv6 address
        @Feature: IPAddr Generator
        @Assert: A IPv6 address is generated
         N/A result N/A gen_ipaddr ipv6 True N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split : 8 Did not generate a IPv6 addrss N/A test_gen_ipv6_2 N/A N/A self N/A N/A N/A 
        @Test: Generate a IPv6 address
        @Feature: IPAddr Generator
        @Assert: A IPv6 address is generated
         N/A result N/A gen_ipaddr ip3 True ipv6 True N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split : 8 Did not generate a IPv6 addrss N/A test_gen_ipv6_3 N/A N/A self N/A N/A N/A 
        @Test: Generate a IPv6 address with custom prefix
        @Feature: IPAddr Generator
        @Assert: A IPv6 address is generated
         N/A result N/A gen_ipaddr ipv6 True prefix N/A e2d3 N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split : 8 Did not generate a IPv6 addrss N/A N/A N/A self assertTrue N/A N/A result startswith e2d3: N/A test_gen_ipv6_4 N/A N/A self N/A N/A N/A 
        @Test: Generate a IPv6 address with custom (very long) prefix
        @Feature: IPAddr Generator
        @Assert: A IPv6 address is generated
         N/A prefix N/A 7 N/A e2d3 N/A result N/A gen_ipaddr ipv6 True prefix prefix N/A N/A N/A self assertTrue N/A N/A len N/A N/A result split : 8 Did not generate a IPv6 addrss N/A N/A N/A self assertTrue N/A N/A result startswith N/A N/A : join prefix N/A test_gen_ipv6_5 N/A N/A self N/A N/A N/A 
        @Test: Generate a IPv6 address with too long prefix
        @Feature: IPAddr Generator
        @Assert: ValueError raised
         N/A prefix N/A 8 N/A e2d3 N/A N/A N/A self assertRaises ValueError N/A N/A N/A gen_ipaddr ipv6 True prefix prefix N/A test_gen_ipv6_6 N/A N/A self N/A N/A N/A 
        @Test: Generate a IPv6 address with even longer prefix
        @Feature: IPAddr Generator
        @Assert: ValueError raised
         N/A prefix N/A 9 N/A e2d3 N/A N/A N/A self assertRaises ValueError N/A N/A N/A gen_ipaddr ipv6 True prefix prefix N/A N/A