We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e119731 commit e891826Copy full SHA for e891826
tests/test_mope.py
@@ -34,7 +34,7 @@ def test_call_api(self, mock_request) -> None:
34
method="POST",
35
params=None,
36
headers={
37
- "User-Agent": "Python Mope %s" % __version__,
+ "User-Agent": f"Python Mope {__version__}",
38
"Content-Type": "application/json",
39
"Authorization": "Bearer fake-token",
40
},
@@ -62,7 +62,7 @@ def test_shop_create_payment_request(self, mock_request) -> None:
62
"redirect_url": "https://www.sup.com/products/1",
63
64
65
- "User-Agent": "Python Mope 0.1.0",
66
67
68
0 commit comments