Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
contributors.debian.org
Commits
1fd99886
Unverified
Commit
1fd99886
authored
Jan 10, 2021
by
Enrico Zini
Browse files
Sync signon tweaks with nm.debian.org
parent
041321a6
Pipeline
#217646
passed with stage
in 1 minute and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
signon/README.md
View file @
1fd99886
...
...
@@ -49,7 +49,7 @@ use. For example:
```
py
class
SignonMixin
(
DCLayoutMixin
):
"""
Mixin for signon views
Mixin for signon views
"""
def
get_context_data
(
self
,
**
kw
):
ctx
=
super
().
get_context_data
(
**
kw
)
...
...
signon/tests/test_authentication.py
View file @
1fd99886
...
...
@@ -194,7 +194,8 @@ class TestAuthentication(SignonFixtureMixin, TestCase):
}
with
mock
.
patch
(
"signon.middleware.SignonMiddleware._instantiate_identities"
,
_instantiate_identities2
):
response
=
client
.
get
(
reverse
(
'signon:whoami'
))
with
self
.
assertLogs
():
response
=
client
.
get
(
reverse
(
'signon:whoami'
))
self
.
assertEqual
(
response
.
status_code
,
200
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment