| OLD | NEW |
| 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 Loading... |
| 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() |
| OLD | NEW |