From 1685be2a645dc1f5f149ed6fe67609c1cdda73bb Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Sat, 11 Aug 2012 12:51:01 +0530 Subject: Add fixtures for unit tests to work --- hyperkitty/fixtures/rating_testdata.json | 68 ++++++++++++++++++++++++++++++++ hyperkitty/fixtures/tag_testdata.json | 68 ++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 hyperkitty/fixtures/rating_testdata.json create mode 100644 hyperkitty/fixtures/tag_testdata.json (limited to 'hyperkitty') diff --git a/hyperkitty/fixtures/rating_testdata.json b/hyperkitty/fixtures/rating_testdata.json new file mode 100644 index 0000000..7f41f18 --- /dev/null +++ b/hyperkitty/fixtures/rating_testdata.json @@ -0,0 +1,68 @@ +[{ + "pk": 1, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "20120807173237.GA7638@nostromo.devel.redhat.com" + } +}, { + "pk": 2, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "20120717073931.2b3ccfad@pegasus.ausil.us" + } +}, { + "pk": 3, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "CAMqY-FeSSALDs0N5gyPNqM4ydOHOKFp==wmy9ihVAGKhoPk=Tg@mail.gmail.com" + } +}, { + "pk": 4, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "cone.1342275563.803007.2493.1000@monster.email-scan.com" + } +}, { + "pk": 1, + "model": "hyperkitty.userprofile", + "fields": { + "user": 1, + "karma": 1 + } +}, { + "pk": 1, + "model": "hyperkitty.tag", + "fields": { + "tag": "aamir", + "list_address": "devel@fp.o", + "threadid": "MEESBVZAM3QKAZSTSQCEF65PS2434NYG" + } +}, { + "pk": 2, + "model": "hyperkitty.tag", + "fields": { + "tag": "aamir", + "list_address": "devel@fp.o", + "threadid": "SOSFEEJJNEI47PDNIPZMYQAPBAGNCUII" + } +}, { + "pk": 3, + "model": "hyperkitty.tag", + "fields": { + "tag": "packaging", + "list_address": "devel@fp.o", + "threadid": "MEESBVZAM3QKAZSTSQCEF65PS2434NYG" + } +}] diff --git a/hyperkitty/fixtures/tag_testdata.json b/hyperkitty/fixtures/tag_testdata.json new file mode 100644 index 0000000..7f41f18 --- /dev/null +++ b/hyperkitty/fixtures/tag_testdata.json @@ -0,0 +1,68 @@ +[{ + "pk": 1, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "20120807173237.GA7638@nostromo.devel.redhat.com" + } +}, { + "pk": 2, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "20120717073931.2b3ccfad@pegasus.ausil.us" + } +}, { + "pk": 3, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "CAMqY-FeSSALDs0N5gyPNqM4ydOHOKFp==wmy9ihVAGKhoPk=Tg@mail.gmail.com" + } +}, { + "pk": 4, + "model": "hyperkitty.rating", + "fields": { + "vote": 1, + "user": 1, + "list_address": "devel@fp.o", + "messageid": "cone.1342275563.803007.2493.1000@monster.email-scan.com" + } +}, { + "pk": 1, + "model": "hyperkitty.userprofile", + "fields": { + "user": 1, + "karma": 1 + } +}, { + "pk": 1, + "model": "hyperkitty.tag", + "fields": { + "tag": "aamir", + "list_address": "devel@fp.o", + "threadid": "MEESBVZAM3QKAZSTSQCEF65PS2434NYG" + } +}, { + "pk": 2, + "model": "hyperkitty.tag", + "fields": { + "tag": "aamir", + "list_address": "devel@fp.o", + "threadid": "SOSFEEJJNEI47PDNIPZMYQAPBAGNCUII" + } +}, { + "pk": 3, + "model": "hyperkitty.tag", + "fields": { + "tag": "packaging", + "list_address": "devel@fp.o", + "threadid": "MEESBVZAM3QKAZSTSQCEF65PS2434NYG" + } +}] -- cgit