Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: trunk/src/chrome/test/functional/ispy/client/chrome_utils_unittest.py

Issue 104793008: Revert 240226 "[I-Spy] Add support for rebaselining expectations..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import json 7 import json
8 import unittest 8 import unittest
9 from PIL import Image 9 from PIL import Image
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 self.white_utils.UpdateExpectationVersion('0.0.0.0') 42 self.white_utils.UpdateExpectationVersion('0.0.0.0')
43 self.white_utils.UpdateExpectationVersion('1.1.5.0') 43 self.white_utils.UpdateExpectationVersion('1.1.5.0')
44 self.white_utils.UpdateExpectationVersion('0.0.0.1') 44 self.white_utils.UpdateExpectationVersion('0.0.0.1')
45 versions = json.loads(self.cloud_bucket.DownloadFile('versions.json')) 45 versions = json.loads(self.cloud_bucket.DownloadFile('versions.json'))
46 self.assertEqual(versions, 46 self.assertEqual(versions,
47 ['2.1.5.0', '1.1.5.0', '1.0.4.0', '1.0.0.0', '0.0.0.1', '0.0.0.0']) 47 ['2.1.5.0', '1.1.5.0', '1.0.4.0', '1.0.0.0', '0.0.0.1', '0.0.0.0'])
48 48
49 49
50 if __name__ == '__main__': 50 if __name__ == '__main__':
51 unittest.main() 51 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698