| 2098 | assert dlv.annotations == None |
| 2099 | |
| 2100 | class RejectValue: |
| 2101 | def __init__(self, condition): |
| 2102 | self.condition = condition |
| 2103 | |
| 2104 | def apply(self, dlv): |
| 2105 | dlv.condition = self.condition |
| 2106 | |
| 2107 | def check(self, dlv): |
| 2108 | assert dlv.data == None, dlv.data |
| 2109 | assert dlv.section_number == 0 |
| 2110 | assert dlv.section_offset == 0 |
| 2111 | assert dlv.condition == self.condition, (dlv.condition, self.condition) |
| 2112 | assert dlv.failed == False |
| 2113 | assert dlv.undeliverable == False |
| 2114 | assert dlv.annotations == None |
| 2115 | |
| 2116 | class ReceivedValue: |
| 2117 | def __init__(self, section_number, section_offset): |