#"John E. Simpson" from Xml.Xslt import test_harness sheet_1 = """ Sorting an RTF
Name/Version Price / Curr Price (USD)
Unknown Currency /
""" source_1 = """ First prod 29.95 Second prod 115.95 Third prod 29.95 Fourth prod 50.00 """ expected_1 = """ Sorting an RTF
Name/Version Price / Curr Price (USD)
Second prod 115.95 / GBP 170.77
Third prod 29.95 / EU 25.89
First prod 29.95 / USD 29.95
Fourth prod 50.00 / USD 50.00
""" def Test(tester): source = test_harness.FileInfo(string=source_1) sheet = test_harness.FileInfo(string=sheet_1) test_harness.XsltTest(tester, source, [sheet], expected_1) return