Skip to content

Commit e891826

Browse files
authored
fix failing tests due to version bump
1 parent e119731 commit e891826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_mope.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_call_api(self, mock_request) -> None:
3434
method="POST",
3535
params=None,
3636
headers={
37-
"User-Agent": "Python Mope %s" % __version__,
37+
"User-Agent": f"Python Mope {__version__}",
3838
"Content-Type": "application/json",
3939
"Authorization": "Bearer fake-token",
4040
},
@@ -62,7 +62,7 @@ def test_shop_create_payment_request(self, mock_request) -> None:
6262
"redirect_url": "https://www.sup.com/products/1",
6363
},
6464
headers={
65-
"User-Agent": "Python Mope 0.1.0",
65+
"User-Agent": f"Python Mope {__version__}",
6666
"Content-Type": "application/json",
6767
"Authorization": "Bearer fake-token",
6868
},

0 commit comments

Comments
 (0)