Args:
file_name (str): Location to write the lstFile
metadata ({ str: { str: str } }): Dictionary mapping test name to
- : a dictionary of key/value
- : attributes.
+ : a tuple, the first tuple's value is
+ : a dictionary of key/value attributes,
+ : the second is test index.
"""
index = int(unique_name.split("_")[-1])
metadata = defaultdict(lambda: None)
- attributes = item.split(os.linesep)
+ attributes = item.split("\n")
for attribute in attributes:
# Skip the removed new lines.
if len(attribute) == 0: