comparison urlmatch.txt @ 9:8d47894191a0

more stubbing of tests
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 27 Jun 2011 11:22:40 -0700
parents 64935a05afdb
children
comparison
equal deleted inserted replaced
8:64935a05afdb 9:8d47894191a0
24 >>> urlmatcher = URLmatcher() 24 >>> urlmatcher = URLmatcher()
25 >>> urlmatcher.add(*['http://example.com/index.html', 25 >>> urlmatcher.add(*['http://example.com/index.html',
26 ... 'https://example.com/, 26 ... 'https://example.com/,
27 ... 'http://gitcub.com/k0s']) 27 ... 'http://gitcub.com/k0s'])
28 >>> urlmatcher.tree() 28 >>> urlmatcher.tree()
29 ['example.com': [' 29 ['example.com': ['http://example.com/index.html', 'https://example.com'],