Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str decorator_list decorator_list
N/A N/A datetime twisted.trial unittest twisted.internet task twisted.internet.interfaces IReactorTime zope.interface implements txtorcon.addrmap AddrMap txtorcon.interface IAddrListener AddrMapTests N/A N/A unittest TestCase N/A N/A N/A implements IAddrListener N/A fmt %Y-%m-%d %H:%M:%S test_parse N/A N/A self N/A N/A N/A 
        Make sure it's parsing things properly.
         N/A now N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds 10 N/A nowutc N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds 10 N/A line N/A www.example.com 72.30.2.43 "%s" EXPIRES="%s" FOO=bar BAR=baz N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A am N/A AddrMap N/A N/A N/A am update line N/A addr N/A N/A am find www.example.com N/A N/A N/A self assertTrue N/A N/A N/A addr ip 72.30.2.43 N/A N/A N/A addr ip exploded 72.30.2.43 N/A N/A N/A self assertEqual N/A N/A N/A addr expires ctime N/A N/A nowutc ctime N/A line N/A www.example.com 72.30.2.43 "%s" "%s" N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A N/A N/A am update line N/A N/A N/A self assertEqual N/A N/A N/A addr expires ctime N/A N/A nowutc ctime N/A N/A N/A N/A N/A N/A N/A am scheduler getDelayedCalls N/A 0 cancel N/A test_expires N/A N/A self N/A N/A N/A 
        Test simply expiry case
         N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A now N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds 10 N/A nowutc N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds 10 N/A line N/A www.example.com 72.30.2.43 "%s" EXPIRES="%s" N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A N/A N/A clock advance 10 N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A test_expires_never N/A N/A self N/A N/A N/A 
        Test a NEVER expires line, as in what we'd get a startup for a
        configured address-mapping.
         N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A line www.example.com 72.30.2.43 "NEVER" N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A N/A N/A self assertEqual N/A len N/A N/A clock getDelayedCalls 0 N/A test_expires_old N/A N/A self N/A N/A N/A 
        Test something that expires before "now"
         N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A now N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds -10 N/A nowutc N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds -10 N/A line N/A www.example.com 72.30.2.43 "%s" EXPIRES="%s" N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A N/A N/A clock advance 0 N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A test_expires_with_update N/A N/A self N/A N/A N/A 
        This test updates the expiry time and checks that we properly
        delay our expiry callback.
         N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A now N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds 10 N/A nowutc N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds 10 N/A line N/A www.example.com 72.30.2.43 "%s" EXPIRES="%s" N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A N/A am find www.example.com N/A now N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds 20 N/A nowutc N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds 20 N/A line N/A www.example.com 72.30.2.43 "%s" EXPIRES="%s" N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A N/A N/A clock advance 10 N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A N/A N/A clock advance 10 N/A N/A N/A self assertTrue N/A www.example.com N/A am addr N/A test_8596_cached_1 N/A N/A self N/A N/A N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A line example.com 192.0.2.1 NEVER CACHED="YES" N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A example.com N/A am addr N/A N/A N/A self assertEqual N/A len N/A N/A clock getDelayedCalls 0 N/A test_8596_cached_2 N/A N/A self N/A N/A N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A line example.com 192.0.43.10 "2013-04-03 22:29:11" EXPIRES="2013-04-03 20:29:11" CACHED="NO" N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A example.com N/A am addr N/A N/A N/A self assertEqual N/A len N/A N/A clock getDelayedCalls 1 N/A test_8596_cached_3 N/A N/A self N/A N/A N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A line example.invalid <error> "2013-04-03 08:28:52" error=yes EXPIRES="2013-04-03 06:28:52" CACHE="NO" N/A N/A N/A am update line N/A N/A N/A self assertTrue N/A example.invalid N/A am addr N/A N/A N/A self assertEqual N/A len N/A N/A clock getDelayedCalls 0 N/A addrmap_expired N/A N/A self name N/A N/A N/A N/A N/A N/A self expires append name N/A addrmap_added N/A N/A self addr N/A N/A N/A N/A N/A N/A self addrmap append addr N/A test_double_add_listener N/A N/A self N/A N/A N/A am N/A AddrMap N/A N/A N/A am add_listener self N/A N/A N/A am add_listener self N/A N/A N/A self assertEqual 1 N/A len N/A am listeners N/A test_listeners N/A N/A self N/A N/A N/A N/A self expires N/A N/A N/A self addrmap N/A N/A clock N/A N/A task Clock N/A am N/A AddrMap N/A N/A am scheduler N/A IReactorTime clock N/A N/A N/A am add_listener self N/A now N/A N/A N/A N/A datetime datetime now N/A N/A datetime timedelta seconds 10 N/A nowutc N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds 10 N/A line N/A www.example.com 72.30.2.43 "%s" EXPIRES="%s" N/A N/A N/A now strftime N/A self fmt N/A N/A nowutc strftime N/A self fmt N/A N/A N/A am update line N/A a N/A N/A am find www.example.com N/A N/A N/A self assertEqual N/A self addrmap N/A a N/A N/A N/A clock advance 10 N/A N/A N/A self assertEqual N/A self expires N/A www.example.com N/A N/A