Example #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'
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'
def test_system_info():
    time.sleep(1)
    assert rundeck_api.system_info().success, 'system_info call was unsuccessful'
Example #4
0
def test_system_info():
    assert rundeck_api.system_info().success, 'system_info call was unsuccessful'