module documentation
Test cases for twisted.names.rfc1982
.
Class |
|
Tests for correct answers to example calculations in RFC1982 5.1. |
Class |
|
Tests for correct answers to example calculations in RFC1982 5.2. |
Class |
|
Tests for SerialNumber . |
Function | assert |
A custom assertion for SerialNumber values that cannot be meaningfully compared. |
Variable | serial |
Undocumented |
Variable | serial |
Undocumented |
A custom assertion for SerialNumber
values that cannot be meaningfully compared.
"Note that there are some pairs of values s1 and s2 for which s1 is not equal to s2, but for which s1 is neither greater than, nor less than, s2. An attempt to use these ordering operators on such pairs of values produces an undefined result."
Parameters | |
testunittest.TestCase | The unittest.TestCase on which to call assertion methods. |
s1:SerialNumber | The first value to compare. |
s2:SerialNumber | The second value to compare. |
See Also | |
https://tools.ietf.org/html/rfc1982#section-3.2 |