62
65
self.assertThat(conn.callRemote, MockCalledOnceWith(
63
66
sentinel.command, foo=sentinel.foo, bar=sentinel.bar))
73
"arguments, (1, 2, 3), but positional arguments are not "
76
client(sentinel.command, 1, 2, 3)
65
78
def test_getHostCertificate(self):
66
79
conn, client = self.make_connection_and_client()
67
80
conn.hostCertificate = sentinel.hostCertificate