diff --git a/apps/feed_import/fixtures/duplicate_feeds.json b/apps/feed_import/fixtures/duplicate_feeds.json new file mode 100644 index 000000000..590759069 --- /dev/null +++ b/apps/feed_import/fixtures/duplicate_feeds.json @@ -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 +} +] \ No newline at end of file diff --git a/apps/feed_import/fixtures/subscriptions.json b/apps/feed_import/fixtures/subscriptions.json new file mode 100644 index 000000000..e81724256 --- /dev/null +++ b/apps/feed_import/fixtures/subscriptions.json @@ -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" + } +}] \ No newline at end of file