mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
add fixtures for duplicate_feeds test
This commit is contained in:
parent
18e43fd7f1
commit
03744b3056
2 changed files with 86 additions and 0 deletions
58
apps/feed_import/fixtures/duplicate_feeds.json
Normal file
58
apps/feed_import/fixtures/duplicate_feeds.json
Normal file
|
@ -0,0 +1,58 @@
|
|||
[{
|
||||
"pk": 1,
|
||||
"premium_subscribers": 0,
|
||||
"creation": "2011-07-18",
|
||||
"exception_code": 500,
|
||||
"last_load_time": 1,
|
||||
"active_subscribers": 1,
|
||||
"feed_address": "http://blog.newsblur.com/rss",
|
||||
"feed_link": "http://blog.newsblur.com/",
|
||||
"last_update": "2011-07-18 04:27:26",
|
||||
"etag": "",
|
||||
"average_stories_per_month": 0,
|
||||
"hash_address_and_link": "17",
|
||||
"feed_title": "The NewsBlur Blog",
|
||||
"last_modified": null,
|
||||
"next_scheduled_update": "2011-07-18 16:43:25",
|
||||
"favicon_color": "de9b3c",
|
||||
"stories_last_month": 0,
|
||||
"active": true,
|
||||
"favicon_not_found": false,
|
||||
"has_page_exception": false,
|
||||
"fetched_once": true,
|
||||
"days_to_trim": 90,
|
||||
"num_subscribers": 1,
|
||||
"last_story_date": "2011-07-18 04:10:01",
|
||||
"min_to_decay": 720,
|
||||
"has_feed_exception": false
|
||||
|
||||
},
|
||||
{
|
||||
"pk": 2,
|
||||
"premium_subscribers": 0,
|
||||
"creation": "2011-07-18",
|
||||
"exception_code": 500,
|
||||
"last_load_time": 1,
|
||||
"active_subscribers": 1,
|
||||
"feed_address": "https://blog.newsblur.com/rss",
|
||||
"feed_link": "https://blog.newsblur.com/",
|
||||
"last_update": "2011-07-18 04:27:26",
|
||||
"etag": "",
|
||||
"average_stories_per_month": 0,
|
||||
"hash_address_and_link": "18",
|
||||
"feed_title": "The NewsBlur Blog",
|
||||
"last_modified": null,
|
||||
"next_scheduled_update": "2011-07-18 16:43:25",
|
||||
"favicon_color": "de9b3c",
|
||||
"stories_last_month": 0,
|
||||
"active": true,
|
||||
"favicon_not_found": false,
|
||||
"has_page_exception": false,
|
||||
"fetched_once": true,
|
||||
"days_to_trim": 90,
|
||||
"num_subscribers": 1,
|
||||
"last_story_date": "2011-07-18 04:10:01",
|
||||
"min_to_decay": 720,
|
||||
"has_feed_exception": false
|
||||
}
|
||||
]
|
28
apps/feed_import/fixtures/subscriptions.json
Normal file
28
apps/feed_import/fixtures/subscriptions.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
[{
|
||||
"pk": 1,
|
||||
"model": "reader.usersubscription",
|
||||
"fields": {
|
||||
"feed": 1,
|
||||
"unread_count_updated": "2009-08-01 00:23:42",
|
||||
"mark_read_date": "2009-07-28 23:17:27",
|
||||
"unread_count_neutral": 0,
|
||||
"unread_count_positive": 0,
|
||||
"unread_count_negative": 0,
|
||||
"user": 1,
|
||||
"last_read_date": "2009-07-28 23:17:27"
|
||||
}
|
||||
},
|
||||
{
|
||||
"pk": 2,
|
||||
"model": "reader.usersubscription",
|
||||
"fields": {
|
||||
"feed": 2,
|
||||
"unread_count_updated": "2009-08-01 00:23:42",
|
||||
"mark_read_date": "2009-07-28 23:17:27",
|
||||
"unread_count_neutral": 0,
|
||||
"unread_count_positive": 0,
|
||||
"unread_count_negative": 0,
|
||||
"user": 2,
|
||||
"last_read_date": "2009-07-28 23:17:27"
|
||||
}
|
||||
}]
|
Loading…
Add table
Reference in a new issue