Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
teknikattan-scoring-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
tddd96-grupp1
teknikattan-scoring-system
Commits
e642ca0b
Commit
e642ca0b
authored
3 years ago
by
Victor Löfgren
Committed by
Carl Schönfelder
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Whitelist jwt"
parent
a29a04ba
No related branches found
No related tags found
1 merge request
!121
Resolve "Whitelist jwt"
Pipeline
#43133
passed
3 years ago
Stage: setup
Stage: test
Changes
21
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/tests/test_app.py
+1
-1
1 addition, 1 deletion
server/tests/test_app.py
with
1 addition
and
1 deletion
server/tests/test_app.py
+
1
−
1
View file @
e642ca0b
...
...
@@ -149,7 +149,7 @@ def test_auth_and_user_api(client):
# Try loggin with right PASSWORD
response
,
body
=
post
(
client
,
"
/api/auth/login
"
,
{
"
email
"
:
"
test1@test.se
"
,
"
password
"
:
"
abc123
"
})
assert
response
.
status_code
==
codes
.
OK
refresh_token
=
body
[
"
refresh_token
"
]
#
refresh_token = body["refresh_token"]
headers
=
{
"
Authorization
"
:
"
Bearer
"
+
body
[
"
access_token
"
]}
# Get the current user
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
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