def test_open_timeout(self): with pytest.raises(ServiceUnavailable): connection = Bolt.open(("localhost", 9999), auth=("test", "test"), timeout=1)
def opener(address, error_handler): return Bolt.open(address, error_handler=error_handler, auth=("neotest", "neotest"))