Skip to content
Snippets Groups Projects
Verified Commit a2559547 authored by Martin Weise's avatar Martin Weise
Browse files

Corrected mock address

parent e6537af7
Branches
Tags
1 merge request!379Fixed the sync
...@@ -84,7 +84,7 @@ class JwtTest(unittest.TestCase): ...@@ -84,7 +84,7 @@ class JwtTest(unittest.TestCase):
with app.app_context(): with app.app_context():
with requests_mock.Mocker() as mock: with requests_mock.Mocker() as mock:
# mock # mock
mock.post('http://auth-service:8080/api/auth/realms/dbrepo/protocol/openid-connect/token', mock.post('http://auth-service:8080/realms/dbrepo/protocol/openid-connect/token',
json=self.response([])) json=self.response([]))
# test # test
user = verify_password('username', 'password') user = verify_password('username', 'password')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment