@@ -0,0 +1,1700 @@
+from django.core.urlresolvers import reverse%0A%0Afrom rest_framework import status%0Afrom symposion.sponsorship.models import Sponsor%0A%0Afrom .base import TestBase%0A%0A%0Aclass TestSponsor(TestBase):%0A%0A    @classmethod%0A    def setUpTestData(cls):%0A        super(TestSponsor, cls).setUpTestData()%0A        cls.sponsor = Sponsor.objects.first()%0A%0A    def test_speaker_list_api_anonymous_user(self):%0A        response = self.client.get(reverse('sponsor-list'))%0A        self.assertEqual(response.status_code, status.HTTP_200_OK)%0A        self.assertIn(%0A            %7B%0A                'name': self.sponsor.name,%0A                'external_url': self.sponsor.external_url,%0A                'contact_name': self.sponsor.contact_name,%0A                'contact_email': self.sponsor.contact_email,%0A                'level': str(self.sponsor.level),%0A                'absolute_url': self.sponsor.get_absolute_url(),%0A                'annotation': self.sponsor.annotation,%0A            %7D,%0A            response.data%0A        )%0A%0A    def test_speaker_detail_api_anonymous_user(self):%0A        response = self.client.get(%0A            reverse('sponsor-detail',args=%5Bself.sponsor.pk%5D)%0A        )%0A        self.assertEqual(response.status_code, status.HTTP_200_OK)%0A        self.assertEqual(%0A            %7B%0A                'name': self.sponsor.name,%0A                'external_url': self.sponsor.external_url,%0A                'contact_name': self.sponsor.contact_name,%0A                'contact_email': self.sponsor.contact_email,%0A                'level': str(self.sponsor.level),%0A                'absolute_url': self.sponsor.get_absolute_url(),%0A                'annotation': self.sponsor.annotation,%0A            %7D,%0A            response.data%0A        )%0A

Add tests against Sponsor viewset