mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-31 15:24:17 -04:00
lint, fix tests
This commit is contained in:
parent
885134529f
commit
39f6595b4a
2 changed files with 5 additions and 3 deletions
|
@ -413,7 +413,7 @@ class ThreepidEmailRestTestCase(unittest.HomeserverTestCase):
|
|||
def test_add_email_if_disabled(self):
|
||||
"""Test add mail to profile if disabled
|
||||
"""
|
||||
self.hs.config.enable_3pid_changes = True
|
||||
self.hs.config.enable_3pid_changes = False
|
||||
|
||||
client_secret = "foobar"
|
||||
session_id = self._request_token(self.email, client_secret)
|
||||
|
@ -485,7 +485,7 @@ class ThreepidEmailRestTestCase(unittest.HomeserverTestCase):
|
|||
def test_delete_email_if_disabled(self):
|
||||
"""Test delete mail from profile if disabled
|
||||
"""
|
||||
self.hs.config.enable_3pid_changes = True
|
||||
self.hs.config.enable_3pid_changes = False
|
||||
|
||||
# Add a threepid
|
||||
self.get_success(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue