Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/cloning-to-windows'
Browse files Browse the repository at this point in the history
  • Loading branch information
SukiCZ committed Jun 24, 2024
2 parents c8dd589 + 317f0e5 commit 15efdd9
Show file tree
Hide file tree
Showing 67 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def simulate_bgg(url, params, timeout):
sorted_params = sorted(params.items(), key=lambda t: t[0])
query_string = urllib.parse.urlencode(sorted_params, quote_via=urllib.parse.quote)

filename = os.path.join(XML_PATH, fragment + "?" + query_string + ".xml")
filename = os.path.join(XML_PATH, fragment + "@" + query_string + ".xml")

with open(filename, encoding="utf-8") as xmlfile:
response_text = xmlfile.read()
Expand All @@ -76,7 +76,7 @@ def simulate_legacy_bgg(url, params, timeout):
# Response body
query_string = urllib.parse.urlencode(sorted_params, quote_via=urllib.parse.quote)
if query_string:
filename = os.path.join(XML_PATH, fragment + "?" + query_string + ".xml")
filename = os.path.join(XML_PATH, fragment + "@" + query_string + ".xml")
else:
filename = os.path.join(XML_PATH, fragment + ".xml")

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 15efdd9

Please sign in to comment.