def test_whitespace(self): return result = parse('test.conf', """ key1 value1 value2 key2 value3 """ ) compare(API(key1=H([A('value1 value2', 'line 2 of test.conf', 'set')]), key2=H([A('value3', 'line 3 of test.conf', 'set')])),result)
def test_simple(self): return result = parse('test.conf', """ key1 value1 key2 value2 """ ) compare(API(key1=H([A('value1', 'line 2 of test.conf', 'set')]), key2=H([A('value2', 'line 3 of test.conf', 'set')])),result)