Skip to content

Commit

Permalink
fix: typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaley-tignis committed Oct 31, 2023
1 parent f6da174 commit 261268c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def testAuthHttpBasic(self):
def testParametersToUrlQuery(self):
client = openapi_client.ApiClient()
params = client.parameters_to_url_query([("boolean", True),], {})
self.assertEqual(params, "&boolean=true")
self.assertEqual(params, "boolean=true")

def echoServerResponseParaserTest(self):
s = """POST /echo/body/Pet/response_string HTTP/1.1
Expand Down
2 changes: 1 addition & 1 deletion samples/client/echo_api/python/test/test_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_from_to_methods(self):
def testParametersToUrlQuery(self):
client = openapi_client.ApiClient()
params = client.parameters_to_url_query([("boolean", True),], {})
self.assertEqual(params, "&boolean=true")
self.assertEqual(params, "boolean=true")

def echoServerResponseParaserTest(self):
s = """POST /echo/body/Pet/response_string HTTP/1.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,4 @@ def test_parameters_to_url_query(self):

def test_parameters_to_url_query_boolean_value(self):
result = self.api_client.parameters_to_url_query([('boolean', True)], {})
self.assertEqual(result, "&boolean=true")
self.assertEqual(result, "boolean=true")

0 comments on commit 261268c

Please sign in to comment.