kopia lustrzana https://gitlab.com/marnanel/chapeau
test_headers supplies correct Accept header.
Class name changed to Tests per coding standard.merge-requests/2/merge
rodzic
ac9fb3d2bf
commit
e0517f6688
|
@ -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'
|
||||
|
|
Ładowanie…
Reference in New Issue