Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
74f29284
Unverified
Commit
74f29284
authored
4 years ago
by
Andrew Morgan
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove some extraneous @unittest.INFOs on unit tests (#8592)
parent
a312e890
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changelog.d/8592.misc
+1
-0
1 addition, 0 deletions
changelog.d/8592.misc
tests/rest/client/v2_alpha/test_account.py
+0
-1
0 additions, 1 deletion
tests/rest/client/v2_alpha/test_account.py
tests/rest/client/v2_alpha/test_auth.py
+0
-1
0 additions, 1 deletion
tests/rest/client/v2_alpha/test_auth.py
with
1 addition
and
2 deletions
changelog.d/8592.misc
0 → 100644
+
1
−
0
View file @
74f29284
Remove extraneous unittest logging decorators from unit tests.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tests/rest/client/v2_alpha/test_account.py
+
0
−
1
View file @
74f29284
...
@@ -352,7 +352,6 @@ class DeactivateTestCase(unittest.HomeserverTestCase):
...
@@ -352,7 +352,6 @@ class DeactivateTestCase(unittest.HomeserverTestCase):
self
.
render
(
request
)
self
.
render
(
request
)
self
.
assertEqual
(
request
.
code
,
401
)
self
.
assertEqual
(
request
.
code
,
401
)
@unittest.INFO
def
test_pending_invites
(
self
):
def
test_pending_invites
(
self
):
"""
Tests that deactivating a user rejects every pending invite for them.
"""
"""
Tests that deactivating a user rejects every pending invite for them.
"""
store
=
self
.
hs
.
get_datastore
()
store
=
self
.
hs
.
get_datastore
()
...
...
This diff is collapsed.
Click to expand it.
tests/rest/client/v2_alpha/test_auth.py
+
0
−
1
View file @
74f29284
...
@@ -104,7 +104,6 @@ class FallbackAuthTests(unittest.HomeserverTestCase):
...
@@ -104,7 +104,6 @@ class FallbackAuthTests(unittest.HomeserverTestCase):
self
.
assertEqual
(
len
(
attempts
),
1
)
self
.
assertEqual
(
len
(
attempts
),
1
)
self
.
assertEqual
(
attempts
[
0
][
0
][
"
response
"
],
"
a
"
)
self
.
assertEqual
(
attempts
[
0
][
0
][
"
response
"
],
"
a
"
)
@unittest.INFO
def
test_fallback_captcha
(
self
):
def
test_fallback_captcha
(
self
):
"""
Ensure that fallback auth via a captcha works.
"""
"""
Ensure that fallback auth via a captcha works.
"""
# Returns a 401 as per the spec
# Returns a 401 as per the spec
...
...
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