Skip to content

Commit f2154bf

Browse files
committed
test_applet_seed.py with stronger passwords
1 parent 4e2d445 commit f2154bf

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

src/apps/applets/tests/test_applet_seed.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -472,13 +472,13 @@ async def test_seed_duplicate_user_ids(self):
472472
email: user1@example.com
473473
first_name: First
474474
last_name: Last
475-
password: password
475+
password: Test12345!
476476
- id: {user_id}
477477
created_at: 2023-10-01T00:00:00Z
478478
email: user2@example.com
479479
first_name: First
480480
last_name: Last
481-
password: password
481+
password: Test12345!
482482
"""
483483
with pytest.raises(DuplicateUserIdsError):
484484
await seed_config(config)
@@ -495,13 +495,13 @@ async def test_seed_duplicate_user_emails(self):
495495
email: {user_email}
496496
first_name: First
497497
last_name: Last
498-
password: password
498+
password: Test12345!
499499
- id: {uuid.uuid4()}
500500
created_at: 2023-10-01T00:00:00Z
501501
email: {user_email}
502502
first_name: First
503503
last_name: Last
504-
password: password
504+
password: Test12345!
505505
"""
506506
with pytest.raises(DuplicateUserEmailsError):
507507
await seed_config(config)
@@ -520,7 +520,7 @@ async def test_seed_duplicate_applet_ids(self):
520520
email: {user_email}
521521
first_name: First
522522
last_name: Last
523-
password: password
523+
password: Test12345!
524524
525525
applets:
526526
- id: {applet_id}
@@ -590,7 +590,7 @@ async def test_seed_existing_applet_id(self, applet_one: AppletFull):
590590
email: {user_email}
591591
first_name: First
592592
last_name: Last
593-
password: password
593+
password: Test12345!
594594
595595
applets:
596596
- id: {applet_one.id}
@@ -675,7 +675,7 @@ async def test_seed_applet_no_activities(self):
675675
email: {user_email}
676676
first_name: First
677677
last_name: Last
678-
password: password
678+
password: Test12345!
679679
680680
applets:
681681
- id: {uuid.uuid4()}
@@ -715,7 +715,7 @@ async def test_seed_undefined_subject_user(self):
715715
email: {user_email}
716716
first_name: First
717717
last_name: Last
718-
password: password
718+
password: Test12345!
719719
720720
applets:
721721
- id: {uuid.uuid4()}
@@ -800,7 +800,7 @@ async def test_seed_duplicate_subject_secret_ids(self):
800800
email: {user_email}
801801
first_name: First
802802
last_name: Last
803-
password: password
803+
password: Test12345!
804804
805805
applets:
806806
- id: {uuid.uuid4()}
@@ -850,7 +850,7 @@ async def test_seed_applet_without_owner(self):
850850
email: {user_email}
851851
first_name: First
852852
last_name: Last
853-
password: password
853+
password: Test12345!
854854
855855
applets:
856856
- id: {uuid.uuid4()}
@@ -898,12 +898,12 @@ async def test_seed_applet_with_multiple_owners(self):
898898
email: {user_email}
899899
first_name: First
900900
last_name: Last
901-
password: password
901+
password: Test12345!
902902
- id: {user2_id}
903903
email: {user2_email}
904904
first_name: First
905905
last_name: Last
906-
password: password
906+
password: Test12345!
907907
908908
applets:
909909
- id: {uuid.uuid4()}
@@ -957,7 +957,7 @@ async def test_seed_duplicate_subject_ids(self):
957957
email: {user_email}
958958
first_name: First
959959
last_name: Last
960-
password: password
960+
password: Test12345!
961961
962962
applets:
963963
- id: {uuid.uuid4()}
@@ -1007,7 +1007,7 @@ async def test_seed_invalid_first_event_periodicity(self):
10071007
email: {user_email}
10081008
first_name: First
10091009
last_name: Last
1010-
password: password
1010+
password: Test12345!
10111011
10121012
applets:
10131013
- id: {uuid.uuid4()}
@@ -1055,7 +1055,7 @@ async def test_seed_invalid_first_event_schedule(self):
10551055
email: {user_email}
10561056
first_name: First
10571057
last_name: Last
1058-
password: password
1058+
password: Test12345!
10591059
10601060
applets:
10611061
- id: {uuid.uuid4()}
@@ -1103,7 +1103,7 @@ async def test_seed_subject_missing_respondent_role(self):
11031103
email: {user_email}
11041104
first_name: First
11051105
last_name: Last
1106-
password: password
1106+
password: Test12345!
11071107
11081108
applets:
11091109
- id: {uuid.uuid4()}

0 commit comments

Comments
 (0)