class FindMachinesViaWrapperTests(_WritesPythonModules): (source)
findMachinesViaWrapper recursively yields FQPN, MethodicalMachine pairs in and under a given twisted.python.modules.PythonModule or twisted.python.modules.PythonAttribute.
| Method | set |
Undocumented |
| Method | test_descends |
findMachinesViaWrapper descends into packages to discover machines. |
| Method | test_ignores |
When given a twisted.python.modules.PythonAttribute that refers to a class imported from another module, any MethodicalMachines on that class are ignored. |
| Method | test_infinite |
findMachinesViaWrapper ignores infinite loops. |
| Method | test_yields |
When given a twisted.python.modules.PythonAttribute that refers directly to a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN. |
| Method | test_yields |
When given a twisted.python.modules.PythonAttribute that refers to a class that contains a MethodicalMachine as a class variable, findMachinesViaWrapper yields that machine and its FQPN. |
| Method | test_yields |
When given a twisted.python.modules.PythonModule that refers to the original module of a class containing a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN. |
| Method | test_yields |
When given a twisted.python.modules.PythonModule that refers to a module that contains a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN. |
| Method | test_yields |
When given a twisted.python.modules.PythonAttribute that refers to a nested class that contains a MethodicalMachine as a class variable, findMachinesViaWrapper yields that machine and its FQPN. |
| Method | test_yields |
When given a twisted.python.modules.PythonModule that refers to the original module of a nested class containing a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN. |
| Method | test_yields |
When given a twisted.python.modules.PythonAttribute that refers directly to a TypeMachine, findMachinesViaWrapper yields that machine and its FQPN. |
| Instance Variable | find |
Undocumented |
Inherited from _WritesPythonModules:
| Method | attributes |
Undocumented |
| Method | load |
Undocumented |
| Method | make |
Undocumented |
| Method | make |
Undocumented |
| Method | make |
Undocumented |
| Method | tear |
Undocumented |
| Method | write |
Undocumented |
| Instance Variable | |
Undocumented |
| Instance Variable | get |
Undocumented |
| Instance Variable | original |
Undocumented |
| Instance Variable | path |
Undocumented |
| Instance Variable | |
Undocumented |
| Instance Variable | saved |
Undocumented |
When given a twisted.python.modules.PythonAttribute that refers to a class imported from another module, any MethodicalMachines on that class are ignored.
This behavior ensures that a machine is only discovered on a class when visiting the module where that class was defined.
When given a twisted.python.modules.PythonAttribute that refers directly to a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN.
When given a twisted.python.modules.PythonAttribute that refers to a class that contains a MethodicalMachine as a class variable, findMachinesViaWrapper yields that machine and its FQPN.
When given a twisted.python.modules.PythonModule that refers to the original module of a class containing a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN.
When given a twisted.python.modules.PythonModule that refers to a module that contains a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN.
When given a twisted.python.modules.PythonAttribute that refers to a nested class that contains a MethodicalMachine as a class variable, findMachinesViaWrapper yields that machine and its FQPN.
When given a twisted.python.modules.PythonModule that refers to the original module of a nested class containing a MethodicalMachine, findMachinesViaWrapper yields that machine and its FQPN.
When given a twisted.python.modules.PythonAttribute that refers directly to a TypeMachine, findMachinesViaWrapper yields that machine and its FQPN.