• zhifan huang's avatar
    Add unit tests for registry, cli.conf, tunnel · 5d5510e2
    zhifan huang authored
    registry: add test for RegistryServer and registryClient,
    testRegistryServer mainly test methods concerned to http rpc request. Other methods that call request_dump like
    getBootStrpPeer is not include.
    testRegistryClient test the rpc call with or not with "cn" parameter.
    
    cli.conf: test each situation call the cli conf.
    
    tunnel: add test for BaseTunnelManager, MultGatewayManager
    
    tools is a util cotain method to make cert and ket files
    5d5510e2
__init__.py 69 Bytes