Fix some failing tests in test_client.py

This commit is contained in:
Itamar Turner-Trauring 2023-07-10 17:03:23 -04:00
parent 26ad0b1edf
commit 25ca9b1f19

View File

@ -367,8 +367,9 @@ class StorageFarmBroker(service.MultiService):
serverid,
{"ann": ann.copy()},
)
s._rref = rref
s._is_connected = True
# Yes, this is terrible, this whole test method should go away
s._current_server._rref = rref # type: ignore
s._current_server._is_connected = True # type: ignore
self.servers[serverid] = s
def test_add_server(self, server_id, s):