Skip to content

Commit

Permalink
Add mock data for lists
Browse files Browse the repository at this point in the history
glensc committed Mar 8, 2024
1 parent d5d8d89 commit 66ed992
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
os.path.join(MOCK_DATA_DIR, 'episodes.json'),
os.path.join(MOCK_DATA_DIR, 'sync.json'),
os.path.join(MOCK_DATA_DIR, 'users.json'),
os.path.join(MOCK_DATA_DIR, 'lists.json'),
]


34 changes: 34 additions & 0 deletions tests/mock_data/lists.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"lists/1248149": {
"GET": {
"name": "MARVEL Cinematic Universe",
"description": "**UPDATED** _2024-01-19_\n**Chronological order**",
"privacy": "public",
"share_link": "https://trakt.tv/lists/1248149",
"type": "personal",
"display_numbers": true,
"allow_comments": true,
"sort_by": "rank",
"sort_how": "asc",
"created_at": "2015-07-16T14:59:57.000Z",
"updated_at": "2024-03-07T10:54:58.000Z",
"item_count": 218,
"comment_count": 32,
"likes": 4368,
"ids": {
"trakt": 1248149,
"slug": "marvel-cinematic-universe"
},
"user": {
"username": "Donxy",
"private": false,
"name": "Donxy",
"vip": false,
"vip_ep": true,
"ids": {
"slug": "donxy"
}
}
}
}
}

0 comments on commit 66ed992

Please sign in to comment.