module documentation
Undocumented
Class |
|
The base for test classes. It defines commonly used things and sets up a connection for testing. |
Class |
|
General banana tests. |
Class |
|
Tests for Banana's handling of dialects. |
Class |
|
Tests for the free functions banana.encode and banana.decode . |
Class |
|
Undocumented |
Function | encode |
Banana encode an object using banana.Banana.sendEncoded . |
Function | select |
Dictate a Banana dialect to use. |
Variable | _maxint |
Undocumented |
Banana encode an object using banana.Banana.sendEncoded
.
Parameters | |
banana | A no-argument callable which will return a new, unconnected protocol instance to use to do the encoding (this should most likely be a banana.Banana instance). |
obj:Any type supported by Banana. | The object to encode. |
Returns | |
A bytes instance giving the encoded form of obj. |
Dictate a Banana dialect to use.
Parameters | |
protocol | A banana.Banana instance which has not yet had a dialect negotiated. |
dialect | A bytes instance naming a Banana dialect to select. |