Skip to content

Commit c1171e3

Browse files
authored
feat: add integration tests for the pre-enrollments api AP-1405 (#289)
1 parent 9fd92c3 commit c1171e3

File tree

3 files changed

+894
-40
lines changed

3 files changed

+894
-40
lines changed

eox_core/api/v1/tests/integration/data/fake_users.py

Lines changed: 339 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Fake user data for testing purposes."""
2+
# pylint: disable=too-many-lines
23

34
FAKE_USER_DATA = iter(
45
[
@@ -678,5 +679,343 @@
678679
"city": "Sacramento",
679680
"goals": "Praesent vestibulum dapibus nibh.",
680681
},
682+
{
683+
"username": "ksmith45",
684+
"email": "ksmith45@outlook.com",
685+
"fullname": "Kathy Smith",
686+
"password": "rB3@9Pq!vL$",
687+
"activate_user": True,
688+
"mailing_address": "192 Maple Drive",
689+
"year_of_birth": 1983,
690+
"gender": "f",
691+
"level_of_education": "b",
692+
"city": "Seattle",
693+
"goals": "Curabitur ullamcorper ultricies nisi.",
694+
},
695+
{
696+
"username": "mdavis32",
697+
"email": "mdavis32@yahoo.com",
698+
"fullname": "Mark Davis",
699+
"password": "eT1&4Xm!hK%",
700+
"activate_user": False,
701+
"mailing_address": "74 Oak Avenue",
702+
"year_of_birth": 1990,
703+
"gender": "m",
704+
"level_of_education": "m",
705+
"city": "Chicago",
706+
"goals": "Etiam sit amet orci eget eros faucibus tincidunt.",
707+
},
708+
{
709+
"username": "llee27",
710+
"email": "llee27@gmail.com",
711+
"fullname": "Linda Lee",
712+
"password": "gD5@8Fk!rP#",
713+
"activate_user": True,
714+
"mailing_address": "10 Cedar Street",
715+
"year_of_birth": 1979,
716+
"gender": "f",
717+
"level_of_education": "p",
718+
"city": "San Francisco",
719+
"goals": "Nullam dictum felis eu pede mollis pretium.",
720+
},
721+
{
722+
"username": "rjohnson29",
723+
"email": "rjohnson29@protonmail.com",
724+
"fullname": "Robert Johnson",
725+
"password": "uF2@6Kl!sY@",
726+
"activate_user": False,
727+
"mailing_address": "58 Elm Street",
728+
"year_of_birth": 1985,
729+
"gender": "m",
730+
"level_of_education": "b",
731+
"city": "Houston",
732+
"goals": "Sed cursus turpis vitae tortor.",
733+
},
734+
{
735+
"username": "phall33",
736+
"email": "phall33@icloud.com",
737+
"fullname": "Patricia Hall",
738+
"password": "iR6&9Gv!cB%",
739+
"activate_user": True,
740+
"mailing_address": "43 Willow Court",
741+
"year_of_birth": 1992,
742+
"gender": "f",
743+
"level_of_education": "hs",
744+
"city": "Denver",
745+
"goals": "Cras ultricies mi eu turpis.",
746+
},
747+
{
748+
"username": "bmoore38",
749+
"email": "bmoore38@live.com",
750+
"fullname": "Brian Moore",
751+
"password": "hL3@7Op!qV#",
752+
"activate_user": False,
753+
"mailing_address": "71 Ash Street",
754+
"year_of_birth": 1987,
755+
"gender": "m",
756+
"level_of_education": "m",
757+
"city": "Phoenix",
758+
"goals": "Pellentesque habitant morbi tristique senectus.",
759+
},
760+
{
761+
"username": "cdavis41",
762+
"email": "cdavis41@gmail.com",
763+
"fullname": "Cindy Davis",
764+
"password": "dB1&5Np!kM$",
765+
"activate_user": True,
766+
"mailing_address": "12 Poplar Lane",
767+
"year_of_birth": 1981,
768+
"gender": "f",
769+
"level_of_education": "b",
770+
"city": "San Diego",
771+
"goals": "In dui magna, posuere eget, vestibulum et, tempor auctor.",
772+
},
773+
{
774+
"username": "jrobinson25",
775+
"email": "jrobinson25@protonmail.com",
776+
"fullname": "John Robinson",
777+
"password": "qT4@8Sv!wD%",
778+
"activate_user": False,
779+
"mailing_address": "6 Maple Lane",
780+
"year_of_birth": 1997,
781+
"gender": "m",
782+
"level_of_education": "hs",
783+
"city": "Los Angeles",
784+
"goals": "Vestibulum ante ipsum primis in faucibus.",
785+
},
786+
{
787+
"username": "sclark37",
788+
"email": "sclark37@hotmail.com",
789+
"fullname": "Susan Clark",
790+
"password": "oX5@2Yv!bJ#",
791+
"activate_user": True,
792+
"mailing_address": "82 Pine Avenue",
793+
"year_of_birth": 1984,
794+
"gender": "f",
795+
"level_of_education": "hs",
796+
"city": "Miami",
797+
"goals": "Aliquam lorem ante, dapibus in, viverra quis.",
798+
},
799+
{
800+
"username": "wwilson26",
801+
"email": "wwilson26@outlook.com",
802+
"fullname": "William Wilson",
803+
"password": "vN8@7Lp!tC@",
804+
"activate_user": False,
805+
"mailing_address": "27 Oak Circle",
806+
"year_of_birth": 1993,
807+
"gender": "m",
808+
"level_of_education": "b",
809+
"city": "Boston",
810+
"goals": "Phasellus viverra nulla ut metus varius laoreet.",
811+
},
812+
{
813+
"username": "jmartinez30",
814+
"email": "jmartinez30@gmail.com",
815+
"fullname": "Jennifer Martinez",
816+
"password": "wK3@9Xn!dF$",
817+
"activate_user": True,
818+
"mailing_address": "95 Birch Boulevard",
819+
"year_of_birth": 1991,
820+
"gender": "f",
821+
"level_of_education": "hs",
822+
"city": "Dallas",
823+
"goals": "Etiam rhoncus. Maecenas tempus, tellus eget.",
824+
},
825+
{
826+
"username": "tharris31",
827+
"email": "tharris31@live.com",
828+
"fullname": "Thomas Harris",
829+
"password": "eQ5@2Gm!pX%",
830+
"activate_user": False,
831+
"mailing_address": "39 Spruce Avenue",
832+
"year_of_birth": 1994,
833+
"gender": "m",
834+
"level_of_education": "m",
835+
"city": "Las Vegas",
836+
"goals": "Fusce vulputate eleifend sapien.",
837+
},
838+
{
839+
"username": "jjones24",
840+
"email": "jjones24@protonmail.com",
841+
"fullname": "Jessica Jones",
842+
"password": "uN4@7Dz!cR@",
843+
"activate_user": True,
844+
"mailing_address": "51 Willow Drive",
845+
"year_of_birth": 1989,
846+
"gender": "f",
847+
"level_of_education": "b",
848+
"city": "Austin",
849+
"goals": "Etiam sit amet orci eget eros faucibus.",
850+
},
851+
{
852+
"username": "rthomas28",
853+
"email": "rthomas28@gmail.com",
854+
"fullname": "Richard Thomas",
855+
"password": "iM7&5Lq!vB$",
856+
"activate_user": False,
857+
"mailing_address": "36 Poplar Road",
858+
"year_of_birth": 1992,
859+
"gender": "m",
860+
"level_of_education": "hs",
861+
"city": "Orlando",
862+
"goals": "Quisque rutrum. Aenean imperdiet.",
863+
},
864+
{
865+
"username": "lwilliams40",
866+
"email": "lwilliams40@yahoo.com",
867+
"fullname": "Laura Williams",
868+
"password": "dB9@2Km!eC@",
869+
"activate_user": True,
870+
"mailing_address": "78 Cedar Court",
871+
"year_of_birth": 1986,
872+
"gender": "f",
873+
"level_of_education": "m",
874+
"city": "Atlanta",
875+
"goals": "Maecenas tempus, tellus eget.",
876+
},
877+
{
878+
"username": "pdavis36",
879+
"email": "pdavis36@live.com",
880+
"fullname": "Paul Davis",
881+
"password": "oX4@7Zn!rY%",
882+
"activate_user": False,
883+
"mailing_address": "15 Ash Road",
884+
"year_of_birth": 1990,
885+
"gender": "m",
886+
"level_of_education": "b",
887+
"city": "Detroit",
888+
"goals": "Aenean commodo ligula eget dolor.",
889+
},
890+
{
891+
"username": "jmartin39",
892+
"email": "jmartin39@protonmail.com",
893+
"fullname": "Joan Martin",
894+
"password": "eQ1@5Lv!kW#",
895+
"activate_user": True,
896+
"mailing_address": "55 Pine Drive",
897+
"year_of_birth": 1983,
898+
"gender": "f",
899+
"level_of_education": "p",
900+
"city": "San Antonio",
901+
"goals": "Vestibulum dapibus nunc ac augue.",
902+
},
903+
{
904+
"username": "msmith25",
905+
"email": "msmith25@outlook.com",
906+
"fullname": "Michael Smith",
907+
"password": "hL2@8Mz!kN%",
908+
"activate_user": True,
909+
"mailing_address": "22 Maple Street",
910+
"year_of_birth": 1995,
911+
"gender": "m",
912+
"level_of_education": "b",
913+
"city": "New York",
914+
"goals": "Cras ultricies mi eu turpis hendrerit fringilla.",
915+
},
916+
{
917+
"username": "tclark27",
918+
"email": "tclark27@gmail.com",
919+
"fullname": "Tina Clark",
920+
"password": "nJ4@6Pc!vQ#",
921+
"activate_user": False,
922+
"mailing_address": "47 Elm Lane",
923+
"year_of_birth": 1997,
924+
"gender": "f",
925+
"level_of_education": "hs",
926+
"city": "Los Angeles",
927+
"goals": "Aliquam lorem ante, dapibus in, viverra quis.",
928+
},
929+
{
930+
"username": "kwright29",
931+
"email": "kwright29@yahoo.com",
932+
"fullname": "Kevin Wright",
933+
"password": "pC5@7Df!yT%",
934+
"activate_user": True,
935+
"mailing_address": "34 Cypress Way",
936+
"year_of_birth": 1990,
937+
"gender": "m",
938+
"level_of_education": "m",
939+
"city": "Chicago",
940+
"goals": "Sed cursus turpis vitae tortor.",
941+
},
942+
{
943+
"username": "alee35",
944+
"email": "alee35@protonmail.com",
945+
"fullname": "Alice Lee",
946+
"password": "mK3@4Gv!uH@",
947+
"activate_user": False,
948+
"mailing_address": "67 Fir Street",
949+
"year_of_birth": 1992,
950+
"gender": "f",
951+
"level_of_education": "b",
952+
"city": "Houston",
953+
"goals": "Nulla facilisi. Integer lacinia sollicitudin massa.",
954+
},
955+
{
956+
"username": "jmiller38",
957+
"email": "jmiller38@live.com",
958+
"fullname": "James Miller",
959+
"password": "qL6@9Tw!xV%",
960+
"activate_user": True,
961+
"mailing_address": "89 Oakwood Avenue",
962+
"year_of_birth": 1987,
963+
"gender": "m",
964+
"level_of_education": "hs",
965+
"city": "Philadelphia",
966+
"goals": "Vestibulum ante ipsum primis in faucibus orci luctus.",
967+
},
968+
{
969+
"username": "klopez32",
970+
"email": "klopez32@gmail.com",
971+
"fullname": "Karen Lopez",
972+
"password": "oX8@3Vp!sR#",
973+
"activate_user": False,
974+
"mailing_address": "90 Pine Crescent",
975+
"year_of_birth": 1989,
976+
"gender": "f",
977+
"level_of_education": "m",
978+
"city": "Phoenix",
979+
"goals": "Donec pede justo, fringilla vel, aliquet nec.",
980+
},
981+
{
982+
"username": "djohnson23",
983+
"email": "djohnson23@outlook.com",
984+
"fullname": "Daniel Johnson",
985+
"password": "yR5@7Qz!vE%",
986+
"activate_user": True,
987+
"mailing_address": "12 Magnolia Road",
988+
"year_of_birth": 1985,
989+
"gender": "m",
990+
"level_of_education": "b",
991+
"city": "San Francisco",
992+
"goals": "In enim justo, rhoncus ut, imperdiet a.",
993+
},
994+
{
995+
"username": "hsanchez28",
996+
"email": "hsanchez28@live.com",
997+
"fullname": "Helen Sanchez",
998+
"password": "bD6@9Pw!fC%",
999+
"activate_user": False,
1000+
"mailing_address": "56 Palm Boulevard",
1001+
"year_of_birth": 1991,
1002+
"gender": "f",
1003+
"level_of_education": "hs",
1004+
"city": "Seattle",
1005+
"goals": "Nam quam nunc, blandit vel, luctus pulvinar.",
1006+
},
1007+
{
1008+
"username": "cwilliams34",
1009+
"email": "cwilliams34@protonmail.com",
1010+
"fullname": "Charles Williams",
1011+
"password": "cM4@2Xf!gY#",
1012+
"activate_user": True,
1013+
"mailing_address": "101 Birch Lane",
1014+
"year_of_birth": 1988,
1015+
"gender": "m",
1016+
"level_of_education": "p",
1017+
"city": "Denver",
1018+
"goals": "Maecenas nec odio et ante tincidunt tempus.",
1019+
},
6811020
]
6821021
)

0 commit comments

Comments
 (0)