| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Tests exercising chromiumsync and SyncDataModel.""" | 6 """Tests exercising chromiumsync and SyncDataModel.""" |
| 7 | 7 |
| 8 import pickle | 8 import pickle |
| 9 import unittest | 9 import unittest |
| 10 | 10 |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 changes[0].client_defined_unique_tag) | 671 changes[0].client_defined_unique_tag) |
| 672 self.assertTrue(changes[0].HasField("specifics")) | 672 self.assertTrue(changes[0].HasField("specifics")) |
| 673 self.assertTrue(changes[0].specifics.HasField("experiments")) | 673 self.assertTrue(changes[0].specifics.HasField("experiments")) |
| 674 self.assertTrue( | 674 self.assertTrue( |
| 675 changes[0].specifics.experiments.HasField("keystore_encryption")) | 675 changes[0].specifics.experiments.HasField("keystore_encryption")) |
| 676 self.assertTrue( | 676 self.assertTrue( |
| 677 changes[0].specifics.experiments.keystore_encryption.enabled) | 677 changes[0].specifics.experiments.keystore_encryption.enabled) |
| 678 | 678 |
| 679 if __name__ == '__main__': | 679 if __name__ == '__main__': |
| 680 unittest.main() | 680 unittest.main() |
| OLD | NEW |