Skip to content

Commit

Permalink
fingers crossed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstnbwnkl committed Jun 7, 2024
1 parent 3650237 commit 0e26437
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_openrouteservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from copy import deepcopy

import responses
from requests.structures import CaseInsensitiveDict

import tests as _test
from routingpy import ORS
Expand Down Expand Up @@ -165,9 +166,8 @@ def test_key_in_header(self):

self.client.directions(**query)

self.assertEqual(
{"Authorization": self.key}, {"Authorization": self.key} | responses.calls[0].request.headers
)
header_dict = CaseInsensitiveDict({"Authorization": self.key})
self.assertEqual(header_dict, header_dict | responses.calls[0].request.headers)

@responses.activate
def test_alternative_routes_error(self):
Expand Down

0 comments on commit 0e26437

Please sign in to comment.