Commit fa72de38 authored by Łukasz Nowak's avatar Łukasz Nowak

Always transmit Accept header.

parent 64fdaffc
...@@ -74,7 +74,8 @@ class TestVifibSlaposRestAPIV1(ERP5TypeTestCase): ...@@ -74,7 +74,8 @@ class TestVifibSlaposRestAPIV1(ERP5TypeTestCase):
self.connection = CustomHeaderHTTPConnection(host=self.api_netloc, self.connection = CustomHeaderHTTPConnection(host=self.api_netloc,
custom_header={ custom_header={
'Access-Control-Allow-Headers': self.access_control_allow_headers 'Access-Control-Allow-Headers': self.access_control_allow_headers,
'Accept': 'application/json'
}) })
self.reindexAndUpdateLocalRoles() self.reindexAndUpdateLocalRoles()
self.simulator = tempfile.mkstemp()[1] self.simulator = tempfile.mkstemp()[1]
......
12 13
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment