Test fails if the server's url contains the basePath
Closed this issue · 0 comments
ThomasHickman commented
should not remove all occurrences of basePath in app_url, just the occurrences of basePath at the end. If the server's url contains the basePath, then all occurrences will be removed and this will fail e.g. if basePath is
/
or not defined (which defaults to /
) and the testing url is http://127.0.0.1:8080
, this will fail with exception:
requests.exceptions.InvalidURL: Failed to parse: http:127.0.0.1:8080