mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-25 22:20:05 -05:00
Use sufficiently long random strings in test objects to avoid conflicts.
This commit is contained in:
1 parent
fe7cfa35df
commit
80c4a3fb1a
122 files changed
+202
-202
No files matched your search
@@ -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