• zhifan huang's avatar
    Add unit tests for registry, cli.conf, tunnel · df01180d
    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
    df01180d
test_conf.py 4.81 KB