def METHOD_NAME(self):
    test_cases = yaml.safe_load(self._test_cases)
    results = []
    for tc in test_cases:
        for tc_param in ["input", "output", "flags"]:
            if not tc.get(tc_param):
                tc[tc_param] = {}
        if tc.get("run_command_calls"):
            tc["run_command_calls"] = [RunCmdCall(**r) for r in tc["run_command_calls"]]
        else:
            tc["run_command_calls"] = []
        results.append(ModuleTestCase(**tc))
    return results