Exemplo n.º 1
0
def test_response():
    response = rundeck_api.system_info()

    assert isinstance(response.body,
                      StringType), 'response.body is not a string'
    assert isinstance(response.success, bool), 'response.success is not a bool'
    assert isinstance(response.message,
                      StringType), 'response.message is not a string'
Exemplo n.º 2
0
def test_response():
    response = rundeck_api.system_info()

    assert isinstance(response.body, StringType), 'response.body is not a string'
    assert isinstance(response.success, bool), 'response.success is not a bool'
    assert isinstance(response.message, StringType), 'response.message is not a string'
Exemplo n.º 3
0
def test_system_info():
    time.sleep(1)
    assert rundeck_api.system_info().success, 'system_info call was unsuccessful'
Exemplo n.º 4
0
def test_system_info():
    assert rundeck_api.system_info().success, 'system_info call was unsuccessful'