class ProxyBase(unittest.TestCase): (source)
Undocumented
Method | create |
Create a server for each test. |
Method | test |
When binding to the server an `LDAPBindResponse` with a successful result code.is written to the transport. |
Method | test |
When making a request and the proxy cannot connect to the proxied server, the connection is terminated. |
Method | test |
When making a request and the proxy cannot connect to the proxied server, pending BIND and startTLS requests are replied to and the connection is closed. |
Method | test |
When the client disconnects immediately and before the connection to the proxied server has been established, the proxy terminates the connection to the proxied server. Messages sent by the client are discarded. |
Method | test |
When performing an LDAP search against the server; the requests are intercepted and custom responses are written to the transport. |
Method | test |
When performing an LDAP search against the server; the search results are intercepted and modified by the proxy. |
Method | test |
When performing an LDAP search against the server; the search results and a single "search done" response is written to the transport. |
Method | test_unbind_client |
The server disconects correctly when the client terminates the connection without sending an unbind request. |
Method | test_unbind_client |
The server disconnects from the client gracefully when the client signals its intent to unbind. |
When binding to the server an `LDAPBindResponse` with a successful result code.is written to the transport.
When making a request and the proxy cannot connect to the proxied server, the connection is terminated.
When making a request and the proxy cannot connect to the proxied server, pending BIND and startTLS requests are replied to and the connection is closed.
When the client disconnects immediately and before the connection to the proxied server has been established, the proxy terminates the connection to the proxied server. Messages sent by the client are discarded.
When performing an LDAP search against the server; the requests are intercepted and custom responses are written to the transport.
When performing an LDAP search against the server; the search results are intercepted and modified by the proxy.
When performing an LDAP search against the server; the search results and a single "search done" response is written to the transport.
The server disconects correctly when the client terminates the connection without sending an unbind request.