a few streamlinings

This commit is contained in:
holger krekel
2020-03-29 14:49:28 +02:00
parent 1b858393c5
commit 323d996d5f
3 changed files with 5 additions and 4 deletions

View File

@@ -64,8 +64,7 @@ class TestOfflineAccountBasic:
def test_selfcontact_if_unconfigured(self, acfactory):
ac1 = acfactory.get_unconfigured_account()
with pytest.raises(ValueError):
ac1.get_self_contact()
assert not ac1.get_self_contact().addr
def test_selfcontact_configured(self, acfactory):
ac1 = acfactory.get_configured_offline_account()