示例#1
0
def test_websocket_connection():
    g = BayesianGraph.instance()
    result = g.V().count().toList()
    assert (result is not None)
    vcount = result[0]
    assert (vcount >= 0)
    logger.info("Connection to WebSocket endpoint: SUCCESS")
 def g(self):
     return BayesianGraph.instance()