class documentation
class ExtractURLpartsTests(SynchronousTestCase): (source)
Tests for klein.resource.extractURLparts
.
Method | assert |
Checks whether exception consists of a single UnicodeDecodeError for part. |
Method | test_af |
Test proper handling of AF_UNIX sockets |
Method | test_fail |
If multiple parts fail, they all get appended to the errors list of URLDecodeError. |
Method | test_fail |
Raises URLDecodeError if PATH_INFO can't be decoded. |
Method | test_fail |
Raises URLDecodeError if SCRIPT_NAME can't be decoded. |
Method | test_fail |
Raises URLDecodeError if SERVER_NAME can't be decoded. |
Method | test |
Returns the correct types. |
Checks whether exception consists of a single UnicodeDecodeError
for part.
Parameters | |
exception:URLDecodeError | Undocumented |
part:str | Undocumented |