regex
This commit is contained in:
parent
519411b309
commit
7c779d6283
|
@ -28,7 +28,7 @@ def test_upload_acme_token(app):
|
||||||
"value": bucket,
|
"value": bucket,
|
||||||
"type": "str",
|
"type": "str",
|
||||||
"required": True,
|
"required": True,
|
||||||
"validation": "[0-9a-z.-]{3,63}",
|
"validation": r"[0-9a-z.-]{3,63}",
|
||||||
"helpMessage": "Must be a valid S3 bucket name!",
|
"helpMessage": "Must be a valid S3 bucket name!",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ def test_upload_acme_token(app):
|
||||||
"type": "str",
|
"type": "str",
|
||||||
"value": account,
|
"value": account,
|
||||||
"required": True,
|
"required": True,
|
||||||
"validation": "[0-9]{12}",
|
"validation": r"[0-9]{12}",
|
||||||
"helpMessage": "A valid AWS account number with permission to access S3",
|
"helpMessage": "A valid AWS account number with permission to access S3",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue