Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
a2559547
Verified
Commit
a2559547
authored
3 months ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Corrected mock address
Signed-off-by:
Martin Weise
<
martin.weise@tuwien.ac.at
>
parent
e6537af7
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!379
Fixed the sync
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dbrepo-search-service/test/test_jwt.py
+1
-1
1 addition, 1 deletion
dbrepo-search-service/test/test_jwt.py
with
1 addition
and
1 deletion
dbrepo-search-service/test/test_jwt.py
+
1
−
1
View file @
a2559547
...
@@ -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
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment