diff options
author | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-11 12:51:01 +0530 |
---|---|---|
committer | Aamir Khan <syst3m.w0rm@gmail.com> | 2012-08-11 12:51:01 +0530 |
commit | 1685be2a645dc1f5f149ed6fe67609c1cdda73bb (patch) | |
tree | 07352ce5bbe38337d2e397d42f63433ddb1d7c74 /hyperkitty/fixtures | |
parent | bb4669ad706c693a9c92a3bf9b03076c9ac82189 (diff) | |
download | hyperkitty-1685be2a645dc1f5f149ed6fe67609c1cdda73bb.tar.gz hyperkitty-1685be2a645dc1f5f149ed6fe67609c1cdda73bb.tar.xz hyperkitty-1685be2a645dc1f5f149ed6fe67609c1cdda73bb.zip |
Add fixtures for unit tests to work
Diffstat (limited to 'hyperkitty/fixtures')
-rw-r--r-- | hyperkitty/fixtures/rating_testdata.json | 68 | ||||
-rw-r--r-- | hyperkitty/fixtures/tag_testdata.json | 68 |
2 files changed, 136 insertions, 0 deletions
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" + } +}] |