symposion_app/fixtures/cfp_teams_test.json
James Polley fa5885a766 Add a test fixture which creates a user for testing the CFP
Also add a single proposal which can be reviewed.
2018-06-27 19:13:00 +10:00

191 lines
4.3 KiB
JSON

[
{
"model": "auth.user",
"pk": 9001,
"fields": {
"password": "pbkdf2_sha256$36000$XZeHERCW7hl3$eIcr49yuebUb5o5JSwB1AHQc1Tdz+bqw8Tcmy7PxFkA=",
"last_login": null,
"is_superuser": false,
"username": "cfp_speaker",
"first_name": "cfp",
"last_name": "speaker",
"email": "speaker@lca2019.org",
"is_staff": false,
"is_active": true,
"date_joined": "2018-06-27T06:31:21.863Z",
"groups": [],
"user_permissions": []
}
},
{
"model": "auth.user",
"pk": 9000,
"fields": {
"password": "pbkdf2_sha256$36000$9EwpJEV9yASD$SZquWdAt+g8k+lseqiVkO304hXKBgtL6uwuPhkF+Wn4=",
"last_login": null,
"is_superuser": false,
"username": "cfp_reviewer",
"first_name": "",
"last_name": "",
"email": "",
"is_staff": false,
"is_active": true,
"date_joined": "2018-06-27T06:31:21.863Z",
"groups": [],
"user_permissions": []
}
},
{
"model": "teams.team",
"pk": 1,
"fields": {
"slug": "cfp-review",
"name": "cfp review",
"description": "",
"access": "open",
"created": "2018-06-27T06:41:16.800Z",
"permissions": [
[
"can_review_main",
"reviews",
""
],
[
"can_review_miniconf",
"reviews",
""
]
],
"manager_permissions": [
[
"can_manage_main",
"reviews",
""
],
[
"can_manage_miniconf",
"reviews",
""
],
[
"can_review_main",
"reviews",
""
],
[
"can_review_miniconf",
"reviews",
""
]
]
}
},
{
"model": "teams.membership",
"pk": 1,
"fields": {
"user": [
"cfp_reviewer"
],
"team": 1,
"state": "member",
"message": ""
}
},
{
"model": "symposion_speakers.speaker",
"pk": 1,
"fields": {
"user": [
"cfp_speaker"
],
"name": "A Speaker of Things",
"biography": "An interesting admin",
"biography_html": "",
"experience": "Lots and lots",
"experience_html": "",
"photo": "",
"telephone": "NONE",
"homepage": "",
"twitter_username": "",
"accessibility": "",
"accessibility_html": "",
"travel_assistance": false,
"accommodation_assistance": false,
"agreement": false,
"annotation": "annotation",
"invite_email": "admin1@example.com",
"invite_token": "token",
"created": "2018-06-27T07:55:35.175Z"
}
},
{
"model": "symposion_proposals.proposalsection",
"pk": 1,
"fields": {
"section": 1,
"start": "2018-05-30T00:00:00Z",
"end": "2018-07-30T12:00:00Z",
"closed": false,
"published": false
}
},
{
"model": "symposion_proposals.proposalsection",
"pk": 2,
"fields": {
"section": 2,
"start": "2018-05-30T00:00:00Z",
"end": "2018-07-30T12:00:00Z",
"closed": false,
"published": false
}
},
{
"model": "symposion_proposals.proposalkind",
"pk": 1,
"fields": {
"section": 1,
"name": "Talk",
"slug": "talk"
}
},
{
"model": "symposion_proposals.proposalkind",
"pk": 2,
"fields": {
"section": 1,
"name": "Tutorial",
"slug": "tutorial"
}
},
{
"model": "symposion_proposals.proposalkind",
"pk": 3,
"fields": {
"section": 2,
"name": "Miniconf",
"slug": "miniconf"
}
},
{
"model": "symposion_proposals.proposalbase",
"pk": 1,
"fields": {
"kind": 1,
"title": "asdfasdf",
"abstract": "asdfasdf",
"abstract_html": "asdfasdf",
"private_abstract": "asdfasdf",
"private_abstract_html": "asdfasdf",
"technical_requirements": "",
"technical_requirements_html": "",
"project": "",
"project_url": "",
"video_url": "",
"submitted": "2018-06-27T06:31:56.956Z",
"speaker": 1,
"cancelled": false
}
}
]