Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add integration tests for the pre-enrollments api AP-1405 #289

Merged
merged 12 commits into from
Oct 18, 2024
339 changes: 339 additions & 0 deletions eox_core/api/v1/tests/integration/data/fake_users.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Fake user data for testing purposes."""
# pylint: disable=too-many-lines

FAKE_USER_DATA = iter(
[
Expand Down Expand Up @@ -678,5 +679,343 @@
"city": "Sacramento",
"goals": "Praesent vestibulum dapibus nibh.",
},
{
"username": "ksmith45",
"email": "[email protected]",
"fullname": "Kathy Smith",
"password": "rB3@9Pq!vL$",
"activate_user": True,
"mailing_address": "192 Maple Drive",
"year_of_birth": 1983,
"gender": "f",
"level_of_education": "b",
"city": "Seattle",
"goals": "Curabitur ullamcorper ultricies nisi.",
},
{
"username": "mdavis32",
"email": "[email protected]",
"fullname": "Mark Davis",
"password": "eT1&4Xm!hK%",
"activate_user": False,
"mailing_address": "74 Oak Avenue",
"year_of_birth": 1990,
"gender": "m",
"level_of_education": "m",
"city": "Chicago",
"goals": "Etiam sit amet orci eget eros faucibus tincidunt.",
},
{
"username": "llee27",
"email": "[email protected]",
"fullname": "Linda Lee",
"password": "gD5@8Fk!rP#",
"activate_user": True,
"mailing_address": "10 Cedar Street",
"year_of_birth": 1979,
"gender": "f",
"level_of_education": "p",
"city": "San Francisco",
"goals": "Nullam dictum felis eu pede mollis pretium.",
},
{
"username": "rjohnson29",
"email": "[email protected]",
"fullname": "Robert Johnson",
"password": "uF2@6Kl!sY@",
"activate_user": False,
"mailing_address": "58 Elm Street",
"year_of_birth": 1985,
"gender": "m",
"level_of_education": "b",
"city": "Houston",
"goals": "Sed cursus turpis vitae tortor.",
},
{
"username": "phall33",
"email": "[email protected]",
"fullname": "Patricia Hall",
"password": "iR6&9Gv!cB%",
"activate_user": True,
"mailing_address": "43 Willow Court",
"year_of_birth": 1992,
"gender": "f",
"level_of_education": "hs",
"city": "Denver",
"goals": "Cras ultricies mi eu turpis.",
},
{
"username": "bmoore38",
"email": "[email protected]",
"fullname": "Brian Moore",
"password": "hL3@7Op!qV#",
"activate_user": False,
"mailing_address": "71 Ash Street",
"year_of_birth": 1987,
"gender": "m",
"level_of_education": "m",
"city": "Phoenix",
"goals": "Pellentesque habitant morbi tristique senectus.",
},
{
"username": "cdavis41",
"email": "[email protected]",
"fullname": "Cindy Davis",
"password": "dB1&5Np!kM$",
"activate_user": True,
"mailing_address": "12 Poplar Lane",
"year_of_birth": 1981,
"gender": "f",
"level_of_education": "b",
"city": "San Diego",
"goals": "In dui magna, posuere eget, vestibulum et, tempor auctor.",
},
{
"username": "jrobinson25",
"email": "[email protected]",
"fullname": "John Robinson",
"password": "qT4@8Sv!wD%",
"activate_user": False,
"mailing_address": "6 Maple Lane",
"year_of_birth": 1997,
"gender": "m",
"level_of_education": "hs",
"city": "Los Angeles",
"goals": "Vestibulum ante ipsum primis in faucibus.",
},
{
"username": "sclark37",
"email": "[email protected]",
"fullname": "Susan Clark",
"password": "oX5@2Yv!bJ#",
"activate_user": True,
"mailing_address": "82 Pine Avenue",
"year_of_birth": 1984,
"gender": "f",
"level_of_education": "hs",
"city": "Miami",
"goals": "Aliquam lorem ante, dapibus in, viverra quis.",
},
{
"username": "wwilson26",
"email": "[email protected]",
"fullname": "William Wilson",
"password": "vN8@7Lp!tC@",
"activate_user": False,
"mailing_address": "27 Oak Circle",
"year_of_birth": 1993,
"gender": "m",
"level_of_education": "b",
"city": "Boston",
"goals": "Phasellus viverra nulla ut metus varius laoreet.",
},
{
"username": "jmartinez30",
"email": "[email protected]",
"fullname": "Jennifer Martinez",
"password": "wK3@9Xn!dF$",
"activate_user": True,
"mailing_address": "95 Birch Boulevard",
"year_of_birth": 1991,
"gender": "f",
"level_of_education": "hs",
"city": "Dallas",
"goals": "Etiam rhoncus. Maecenas tempus, tellus eget.",
},
{
"username": "tharris31",
"email": "[email protected]",
"fullname": "Thomas Harris",
"password": "eQ5@2Gm!pX%",
"activate_user": False,
"mailing_address": "39 Spruce Avenue",
"year_of_birth": 1994,
"gender": "m",
"level_of_education": "m",
"city": "Las Vegas",
"goals": "Fusce vulputate eleifend sapien.",
},
{
"username": "jjones24",
"email": "[email protected]",
"fullname": "Jessica Jones",
"password": "uN4@7Dz!cR@",
"activate_user": True,
"mailing_address": "51 Willow Drive",
"year_of_birth": 1989,
"gender": "f",
"level_of_education": "b",
"city": "Austin",
"goals": "Etiam sit amet orci eget eros faucibus.",
},
{
"username": "rthomas28",
"email": "[email protected]",
"fullname": "Richard Thomas",
"password": "iM7&5Lq!vB$",
"activate_user": False,
"mailing_address": "36 Poplar Road",
"year_of_birth": 1992,
"gender": "m",
"level_of_education": "hs",
"city": "Orlando",
"goals": "Quisque rutrum. Aenean imperdiet.",
},
{
"username": "lwilliams40",
"email": "[email protected]",
"fullname": "Laura Williams",
"password": "dB9@2Km!eC@",
"activate_user": True,
"mailing_address": "78 Cedar Court",
"year_of_birth": 1986,
"gender": "f",
"level_of_education": "m",
"city": "Atlanta",
"goals": "Maecenas tempus, tellus eget.",
},
{
"username": "pdavis36",
"email": "[email protected]",
"fullname": "Paul Davis",
"password": "oX4@7Zn!rY%",
"activate_user": False,
"mailing_address": "15 Ash Road",
"year_of_birth": 1990,
"gender": "m",
"level_of_education": "b",
"city": "Detroit",
"goals": "Aenean commodo ligula eget dolor.",
},
{
"username": "jmartin39",
"email": "[email protected]",
"fullname": "Joan Martin",
"password": "eQ1@5Lv!kW#",
"activate_user": True,
"mailing_address": "55 Pine Drive",
"year_of_birth": 1983,
"gender": "f",
"level_of_education": "p",
"city": "San Antonio",
"goals": "Vestibulum dapibus nunc ac augue.",
},
{
"username": "msmith25",
"email": "[email protected]",
"fullname": "Michael Smith",
"password": "hL2@8Mz!kN%",
"activate_user": True,
"mailing_address": "22 Maple Street",
"year_of_birth": 1995,
"gender": "m",
"level_of_education": "b",
"city": "New York",
"goals": "Cras ultricies mi eu turpis hendrerit fringilla.",
},
{
"username": "tclark27",
"email": "[email protected]",
"fullname": "Tina Clark",
"password": "nJ4@6Pc!vQ#",
"activate_user": False,
"mailing_address": "47 Elm Lane",
"year_of_birth": 1997,
"gender": "f",
"level_of_education": "hs",
"city": "Los Angeles",
"goals": "Aliquam lorem ante, dapibus in, viverra quis.",
},
{
"username": "kwright29",
"email": "[email protected]",
"fullname": "Kevin Wright",
"password": "pC5@7Df!yT%",
"activate_user": True,
"mailing_address": "34 Cypress Way",
"year_of_birth": 1990,
"gender": "m",
"level_of_education": "m",
"city": "Chicago",
"goals": "Sed cursus turpis vitae tortor.",
},
{
"username": "alee35",
"email": "[email protected]",
"fullname": "Alice Lee",
"password": "mK3@4Gv!uH@",
"activate_user": False,
"mailing_address": "67 Fir Street",
"year_of_birth": 1992,
"gender": "f",
"level_of_education": "b",
"city": "Houston",
"goals": "Nulla facilisi. Integer lacinia sollicitudin massa.",
},
{
"username": "jmiller38",
"email": "[email protected]",
"fullname": "James Miller",
"password": "qL6@9Tw!xV%",
"activate_user": True,
"mailing_address": "89 Oakwood Avenue",
"year_of_birth": 1987,
"gender": "m",
"level_of_education": "hs",
"city": "Philadelphia",
"goals": "Vestibulum ante ipsum primis in faucibus orci luctus.",
},
{
"username": "klopez32",
"email": "[email protected]",
"fullname": "Karen Lopez",
"password": "oX8@3Vp!sR#",
"activate_user": False,
"mailing_address": "90 Pine Crescent",
"year_of_birth": 1989,
"gender": "f",
"level_of_education": "m",
"city": "Phoenix",
"goals": "Donec pede justo, fringilla vel, aliquet nec.",
},
{
"username": "djohnson23",
"email": "[email protected]",
"fullname": "Daniel Johnson",
"password": "yR5@7Qz!vE%",
"activate_user": True,
"mailing_address": "12 Magnolia Road",
"year_of_birth": 1985,
"gender": "m",
"level_of_education": "b",
"city": "San Francisco",
"goals": "In enim justo, rhoncus ut, imperdiet a.",
},
{
"username": "hsanchez28",
"email": "[email protected]",
"fullname": "Helen Sanchez",
"password": "bD6@9Pw!fC%",
"activate_user": False,
"mailing_address": "56 Palm Boulevard",
"year_of_birth": 1991,
"gender": "f",
"level_of_education": "hs",
"city": "Seattle",
"goals": "Nam quam nunc, blandit vel, luctus pulvinar.",
},
{
"username": "cwilliams34",
"email": "[email protected]",
"fullname": "Charles Williams",
"password": "cM4@2Xf!gY#",
"activate_user": True,
"mailing_address": "101 Birch Lane",
"year_of_birth": 1988,
"gender": "m",
"level_of_education": "p",
"city": "Denver",
"goals": "Maecenas nec odio et ante tincidunt tempus.",
},
]
)
Loading
Loading