(testcase)
return {
        "in": variables,
        "out": output_mapping
    }
get and print testcase input(variables) and output.

    Args:
        testcase (unittest.suite.TestSuite): corresponding to one YAML/JSON file, it has been set two attributes:
            config: parsed config block
            runner: initialized runner.Runner() with config
    Returns:
        dict: input(variables) and output mapping.
get and print testcase input(variables) and output.
get and print testcase input ( variables ) and output .
def get_testcase_io(testcase):
    """ get and print testcase input(variables) and output.

    Args:
        testcase (unittest.suite.TestSuite): corresponding to one YAML/JSON file, it has been set two attributes:
            config: parsed config block
            runner: initialized runner.Runner() with config
    Returns:
        dict: input(variables) and output mapping.

    """
    test_runner = testcase.runner
    variables = testcase.config.get("variables", {})
    output_list = testcase.config.get("output", [])
    output_mapping = test_runner.extract_output(output_list)

    return {
        "in": variables,
        "out": output_mapping
    }
def get_testcase_io ( testcase ) : test_runner = testcase . runner variables = testcase . config . get ( "variables" , { } ) output_list = testcase . config . get ( "output" , [ ] ) output_mapping = test_runner . extract_output ( output_list ) return { "in" : variables , "out" : output_mapping }