Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Akiff Manji <akiff.manji@quartech.com>
  • Loading branch information
amanji committed Apr 26, 2024
1 parent 50c1658 commit 0523d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/vcr-server/vcr_server/middleware/tests/test_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ def test_get_coalesced_request_version_header_nopath(self):
def test_get_coalesced_request_version_noheader_path(self):
result = self.routing_middleware.get_coalesced_request_version(None, "latest")

self.assertEqual(result, "v3")
self.assertEqual(result, "v4")

def test_get_coalesced_request_version_header_path_matching(self):
result = self.routing_middleware.get_coalesced_request_version("latest", "latest")

self.assertEqual(result, "v3")
self.assertEqual(result, "v4")

def test_get_coalesced_request_version_header_path_conflicting(self):
with self.assertRaises(ApiVersionException) as cm:
Expand Down

0 comments on commit 0523d2e

Please sign in to comment.