test_headers supplies correct Accept header.

Class name changed to Tests per coding standard.
merge-requests/2/merge
Marnanel Thurman 2020-11-25 19:40:53 +00:00
rodzic ac9fb3d2bf
commit e0517f6688
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -13,9 +13,9 @@ from kepi.bowler_pub.utils import uri_to_url
from django.conf import settings
from unittest import skip
MIME_TYPE = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'
MIME_TYPE = 'application/activity+json'
class TestHeaders(TestCase):
class Tests(TestCase):
def setUp(self):
settings.KEPI['LOCAL_OBJECT_HOSTNAME'] = 'testserver'