Commit 3376e249 authored by Łukasz Nowak's avatar Łukasz Nowak

Follow logic change.

parent 26731324
...@@ -415,7 +415,7 @@ class TestInstanceOPTIONS(VifibSlaposRestAPIV1Mixin): ...@@ -415,7 +415,7 @@ class TestInstanceOPTIONS(VifibSlaposRestAPIV1Mixin):
def test_OPTIONS_not_logged_in(self): def test_OPTIONS_not_logged_in(self):
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-Request-Headers': self.access_control_allow_headers
}) })
self.connection.request(method='OPTIONS', self.connection.request(method='OPTIONS',
url='/'.join([self.api_path, 'instance'])) url='/'.join([self.api_path, 'instance']))
......
45 46
\ 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