def test_section_wmi_webservices(request, testconfig, expected_output, actual_output, testfile):
    # special case wmi may timeout
    required_lines = 3
    name = 'webservices'

    if not it_utils.check_actual_input(name, required_lines, Globals.alone, actual_output):
        return

    local_test(expected_output, actual_output, testfile, request.node.name)
Ejemplo n.º 2
0
def test_section_dotnet_clrmemory(request, testconfig, expected_output, actual_output, testfile):
    # special case wmi may timeout
    required_lines = 5
    name = 'dotnet'

    if not it_utils.check_actual_input(name, required_lines, Globals.alone, actual_output):
        return

    local_test(expected_output, actual_output, testfile, request.node.name)
Ejemplo n.º 3
0
def test_section_wmi_cpuload(request, testconfig, expected_output, actual_output, testfile):
    # special case, wmi may timeout
    required_lines = 7
    name = 'cpu_load'

    if not it_utils.check_actual_input(name, required_lines, Globals.alone, actual_output):
        return

    local_test(expected_output, actual_output, testfile, request.node.name)
def test_section_openhardwaremonitor(request, testconfig, expected_output, actual_output, testfile):
    required_lines = 2
    name = 'openhardwaremonitor'

    if not it_utils.check_actual_input(name, required_lines, Globals.alone, actual_output):
        return

    # request.node.name gives test name
    local_test(expected_output, actual_output, testfile, request.node.name)