Sort HTTP output to fix unstable system test.

This commit is contained in:
Andrey Smirnov
2014-02-13 13:01:56 +04:00
parent ad2680aeba
commit 213c1e0b4f

View File

@@ -54,7 +54,7 @@ class Serve1Test(BaseTest):
def check(self):
self.check_output()
self.verify_match(self.get_gold('http'), self.http_response)
self.verify_match(self.get_gold('http'), self.http_response, match_prepare=lambda s: "\n".join(sorted(s.split("\n"))))
class Serve2Test(BaseTest):