def test_IP(): res = base.rpc("/testIP/ip138") print res
def test_version(): versionInfo = base.rpc('/static/version', {}) assert isinstance(versionInfo, dict), versionInfo assert 'version' in versionInfo, versionInfo
def test_version(): versionInfo = base.rpc("/testIP/version", {}) assert isinstance(versionInfo, dict), versionInfo assert "version" in versionInfo, versionInfo