(self, backend)
| 1194 | ) |
| 1195 | |
| 1196 | def test_eq(self, backend): |
| 1197 | sct1 = ( |
| 1198 | _load_data( |
| 1199 | os.path.join("x509", "ocsp", "resp-sct-extension.der"), |
| 1200 | ocsp.load_der_ocsp_response, |
| 1201 | ) |
| 1202 | .single_extensions.get_extension_for_class( |
| 1203 | x509.SignedCertificateTimestamps |
| 1204 | ) |
| 1205 | .value |
| 1206 | ) |
| 1207 | sct2 = ( |
| 1208 | _load_data( |
| 1209 | os.path.join("x509", "ocsp", "resp-sct-extension.der"), |
| 1210 | ocsp.load_der_ocsp_response, |
| 1211 | ) |
| 1212 | .single_extensions.get_extension_for_class( |
| 1213 | x509.SignedCertificateTimestamps |
| 1214 | ) |
| 1215 | .value |
| 1216 | ) |
| 1217 | assert sct1 == sct2 |
| 1218 | |
| 1219 | def test_ne(self, backend): |
| 1220 | sct1 = ( |
nothing calls this directly
no test coverage detected