Skip to content

Commit

Permalink
remove trailing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Dec 2, 2023
1 parent 61a1601 commit 8e3b8e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_config():
"invalid_json_strings": invalid_filename_strings,
"invalid_data_format_types": invalid_filename_types,
"invalid_data_format_strings": invalid_filename_strings,
"base_url": os.getenv("BASE_URL"),
"base_url": os.getenv("BASE_URL").rstrip("/"),
"api_token": os.getenv("API_TOKEN"),
"travis": os.getenv("TRAVIS") or False,
"wait_time": 1,
Expand All @@ -86,7 +86,7 @@ def native_api(monkeypatch):
"""

BASE_URL = os.getenv("BASE_URL")
BASE_URL = os.getenv("BASE_URL").rstrip("/")

monkeypatch.setenv("BASE_URL", BASE_URL)
return NativeApi(BASE_URL)
Expand Down

0 comments on commit 8e3b8e1

Please sign in to comment.