at least minimally test the other implementation

This commit is contained in:
Jean-Paul Calderone 2019-06-21 15:35:24 -04:00
parent 87b37a7e27
commit 0f0ca5598a

View File

@ -108,6 +108,20 @@ class UnrecognizedAnnouncement(unittest.TestCase):
server.start_connecting(None)
server.try_to_connect()
def test_various_data_methods(self):
"""
The data accessors of ``NativeStorageServer`` that depend on the
announcement do not raise an exception.
"""
server = self.native_storage_server()
server.get_permutation_seed()
server.get_name()
server.get_longname()
server.get_tubid()
server.get_lease_seed()
server.get_foolscap_write_enabler_seed()
server.get_nickname()
class TestStorageFarmBroker(unittest.TestCase):