mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Use sufficiently long random strings in test objects to avoid conflicts.
This commit is contained in:
committed by
Dave Page
parent
fe7cfa35df
commit
80c4a3fb1a
@@ -48,14 +48,14 @@ class LoginTestCase(BaseTestGenerator):
|
||||
|
||||
# This test case validates the invalid/incorrect email id
|
||||
('Invalid_Email', dict(
|
||||
email=str(uuid.uuid4())[1:6] + '@xyz.com',
|
||||
email=str(uuid.uuid4())[1:8] + '@xyz.com',
|
||||
password=(config_data['pgAdmin4_login_credentials']
|
||||
['login_password']),
|
||||
respdata='Specified user does not exist')),
|
||||
|
||||
# This test case validates invalid email and password
|
||||
('Invalid_Credentials', dict(
|
||||
email=str(uuid.uuid4())[1:6] + '@xyz.com',
|
||||
email=str(uuid.uuid4())[1:8] + '@xyz.com',
|
||||
password=str(uuid.uuid4())[4:8],
|
||||
respdata='Specified user does not exist')),
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ class ResetPasswordTestCase(BaseTestGenerator):
|
||||
|
||||
# This test case validates the invalid/incorrect email field
|
||||
('TestCase for Validating Invalid_Email', dict(
|
||||
email=str(uuid.uuid4())[1:6] + '@xyz.com',
|
||||
email=str(uuid.uuid4())[1:8] + '@xyz.com',
|
||||
respdata='Specified user does not exist')),
|
||||
|
||||
# This test case validates the valid email id
|
||||
|
||||
Reference in New Issue
Block a user