TESTS: Use req. name "get_cert" alias "get"

parent 6c27f3ae
......@@ -119,7 +119,7 @@ good_reqs_get_cert = [
},
{ # bad req type
"sn": "0000000A000001F3",
"type": "get",
"type": "gett",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\n"
"MIHoMIGOAgEAMBsxGTAXBgNVBAMMEDAwMDAwMDBBMDAwMDAxRjMwWTATBgcqhkjO\n"
"PQIBBggqhkjOPQMBBwNCAATZidHnuSVUH647KgxFnvgP74OTAdKdkSgVZEfyoAXy\n"
......
......@@ -38,15 +38,6 @@ def test_invalid_csr(bad_csr, bad_sn_atsha):
v.validate_csr(bad_csr, bad_sn_atsha)
def test_valid_req_type(good_req_types):
v.validate_req_type(good_req_types)
def test_invalid_req_type(bad_req_types):
with pytest.raises(ex.RequestConsistencyError):
v.validate_req_type(bad_req_types)
def test_valid_flags(good_flags):
v.validate_flags(good_flags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment