Commit f0a57a1f authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Support replacement order

parent b23fb264
...@@ -302,7 +302,8 @@ class TestDataMixin(object): ...@@ -302,7 +302,8 @@ class TestDataMixin(object):
except IOError: except IOError:
test_data = '' test_data = ''
for replacement, value in list(data_replacement_dict.items()): for replacement in sorted(data_replacement_dict.keys()):
value = data_replacement_dict[replacement]
runtime_data = runtime_data.replace(value, replacement) runtime_data = runtime_data.replace(value, replacement)
maxDiff = self.maxDiff maxDiff = self.maxDiff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment