Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_urlparse Namespace Reference

Classes

class  UrlParseTestCase

Functions

def test_main

Variables

string RFC1808_BASE = "http://a/b/c/d;p?q#f"
string RFC2396_BASE = "http://a/b/c/d;p?q"
string RFC3986_BASE = 'http://a/b/c/d;p?q'
string SIMPLE_BASE = 'http://a/b/c/d'
list parse_qsl_test_cases

Function Documentation

Definition at line 800 of file test_urlparse.py.

00800 
00801 def test_main():
00802     support.run_unittest(UrlParseTestCase)


Variable Documentation

Initial value:
00001 [
00002     ("", []),
00003     ("&", []),
00004     ("&&", []),
00005     ("=", [('', '')]),
00006     ("=a", [('', 'a')]),
00007     ("a", [('a', '')]),
00008     ("a=", [('a', '')]),
00009     ("a=", [('a', '')]),
00010     ("&a=b", [('a', 'b')]),
00011     ("a=a+b&b=b+c", [('a', 'a b'), ('b', 'b c')]),
00012     ("a=1&a=2", [('a', '1'), ('a', '2')]),
00013     (b"", []),
00014     (b"&", []),
00015     (b"&&", []),
00016     (b"=", [(b'', b'')]),
00017     (b"=a", [(b'', b'a')]),
00018     (b"a", [(b'a', b'')]),
00019     (b"a=", [(b'a', b'')]),
00020     (b"a=", [(b'a', b'')]),
00021     (b"&a=b", [(b'a', b'b')]),
00022     (b"a=a+b&b=b+c", [(b'a', b'a b'), (b'b', b'b c')]),
00023     (b"a=1&a=2", [(b'a', b'1'), (b'a', b'2')]),
00024 ]

Definition at line 15 of file test_urlparse.py.

Definition at line 7 of file test_urlparse.py.

Definition at line 8 of file test_urlparse.py.

Definition at line 9 of file test_urlparse.py.

Definition at line 10 of file test_urlparse.py.