Skip to content

Commit

Permalink
fix failing tests due to version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rhymiz authored Nov 20, 2023
1 parent e119731 commit e891826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_mope.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_call_api(self, mock_request) -> None:
method="POST",
params=None,
headers={
"User-Agent": "Python Mope %s" % __version__,
"User-Agent": f"Python Mope {__version__}",
"Content-Type": "application/json",
"Authorization": "Bearer fake-token",
},
Expand Down Expand Up @@ -62,7 +62,7 @@ def test_shop_create_payment_request(self, mock_request) -> None:
"redirect_url": "https://www.sup.com/products/1",
},
headers={
"User-Agent": "Python Mope 0.1.0",
"User-Agent": f"Python Mope {__version__}",
"Content-Type": "application/json",
"Authorization": "Bearer fake-token",
},
Expand Down

0 comments on commit e891826

Please sign in to comment.