class WrapFQPNTests(TestCase): (source)
Tests that ensure wrapFQPN loads the twisted.python.modules.PythonModule or twisted.python.modules.PythonAttribute for a given FQPN.
| Method | assert |
Assert that a twisted.python.modules.PythonAttribute refers to a particular Python object. |
| Method | assert |
Assert that a twisted.python.modules.PythonModule refers to a particular Python module. |
| Method | set |
Undocumented |
| Method | test_fails |
" wrapFQPN raises InvalidFQPN when given a badly-dotted FQPN. (e.g., x..y). |
| Method | test_fails |
wrapFQPN raises InvalidFQPN when given an empty string. |
| Method | test_fails |
wrapFQPN raises NoModule when given a dotless FQPN that does not refer to a module or package. |
| Method | test_fails |
wrapFQPN raises NoObject when given an FQPN that contains a missing attribute, module, or package. |
| Method | test_multiple |
wrapFQPN returns a twisted.python.modules.PythonModule referring to the deepest package described by dotted FQPN. |
| Method | test_multiple |
wrapFQPN returns a twisted.python.modules.PythonModule referring to the deepest module described by dotted FQPN. |
| Method | test_multiple |
wrapFQPN returns a twisted.python.modules.PythonAttribute referring to the deepest object described by an FQPN, descending through several packages. |
| Method | test_single |
wrapFQPN returns a twisted.python.modules.PythonModule referring to the single module a dotless FQPN describes. |
| Method | test_single |
wrapFQPN returns a twisted.python.modules.PythonAttribute referring to the deepest object an FQPN names, traversing one module. |
| Method | test_single |
wrapFQPN returns a twisted.python.modules.PythonModule referring to the single package a dotless FQPN describes. |
| Instance Variable | |
Undocumented |
| Instance Variable | |
Undocumented |
| Instance Variable | |
Undocumented |
| Instance Variable | |
Undocumented |
| Instance Variable | |
Undocumented |
| Instance Variable | wrap |
Undocumented |
wrapFQPN returns a twisted.python.modules.PythonModule referring to the deepest package described by dotted FQPN.
wrapFQPN returns a twisted.python.modules.PythonModule referring to the deepest module described by dotted FQPN.
wrapFQPN returns a twisted.python.modules.PythonAttribute referring to the deepest object described by an FQPN, descending through several packages.
wrapFQPN returns a twisted.python.modules.PythonModule referring to the single module a dotless FQPN describes.
wrapFQPN returns a twisted.python.modules.PythonAttribute referring to the deepest object an FQPN names, traversing one module.
wrapFQPN returns a twisted.python.modules.PythonModule referring to the single package a dotless FQPN describes.