# VA is used as a singleton. # You can access va in every script, function and method. print( "Testing va extension connection." ) import va if( va.connect( "localhost", 12340 ) ) print( "Successfully connected" ) else print( "Connection failed" ) if( va.is_connected() ) va.disconnect() print( "Test done." )