fix lint and a typo

This commit is contained in:
holger krekel
2020-05-22 10:31:41 +02:00
parent 931967353e
commit c43e7cdbdc

View File

@@ -919,7 +919,6 @@ class TestOnlineAccount:
ac1.shutdown() ac1.shutdown()
ac2.shutdown() ac2.shutdown()
def test_mdn_asymetric(self, acfactory, lp): def test_mdn_asymetric(self, acfactory, lp):
ac1, ac2 = acfactory.get_two_online_accounts(move=True) ac1, ac2 = acfactory.get_two_online_accounts(move=True)
@@ -1214,7 +1213,6 @@ class TestOnlineAccount:
ac1.shutdown() ac1.shutdown()
ac2.shutdown() ac2.shutdown()
def test_ac_setup_message(self, acfactory, lp): def test_ac_setup_message(self, acfactory, lp):
# note that the receiving account needs to be configured and running # note that the receiving account needs to be configured and running
# before ther setup message is send. DC does not read old messages # before ther setup message is send. DC does not read old messages
@@ -1246,7 +1244,6 @@ class TestOnlineAccount:
ac1.shutdown() ac1.shutdown()
ac2.shutdown() ac2.shutdown()
def test_ac_setup_message_twice(self, acfactory, lp): def test_ac_setup_message_twice(self, acfactory, lp):
ac1 = acfactory.get_online_configuring_account() ac1 = acfactory.get_online_configuring_account()
ac2 = acfactory.clone_online_account(ac1) ac2 = acfactory.clone_online_account(ac1)
@@ -1686,11 +1683,8 @@ class TestGroupStressTests:
# Message should be encrypted because keys of other members are gossiped # Message should be encrypted because keys of other members are gossiped
assert msg.is_encrypted() assert msg.is_encrypted()
ac1.shutdown() for account in accounts:
ac2.shutdown() account.shutdown()
ac3.shutdown()
ac4.shutdown()
ac5.shutdown()
def test_synchronize_member_list_on_group_rejoin(self, acfactory, lp): def test_synchronize_member_list_on_group_rejoin(self, acfactory, lp):
""" """
@@ -1771,10 +1765,10 @@ class TestGroupStressTests:
ac2.shutdown() ac2.shutdown()
ac3.shutdown() ac3.shutdown()
class TestOnlineConfigureFails: class TestOnlineConfigureFails:
def test_invalid_password(self, acfactory): def test_invalid_password(self, acfactory):
ac1, configdict = acfactory.get_online_config() ac1, configdict = acfactory.get_online_config()
ac1.update_config(dict(addr=configdict["addr"], mail_pw="123")) ac1.update_config(dict(addr=configdict["addr"], mail_pw="123"))
ac1.configure() ac1.configure()
ac1._configtracker.wait_progress(500) ac1._configtracker.wait_progress(500)