Ensures a UserPool Id starts like {region}_
This commit is contained in:
parent
dfa7935e13
commit
d9577f9d3d
2 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ def test_create_user_pool():
|
|||
)
|
||||
|
||||
result["UserPool"]["Id"].should_not.be.none
|
||||
result["UserPool"]["Id"].should.match(r'[\w-]+_[0-9a-zA-Z]+')
|
||||
result["UserPool"]["Name"].should.equal(name)
|
||||
result["UserPool"]["LambdaConfig"]["PreSignUp"].should.equal(value)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue