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

Side by Side Diff: sync/tools/testserver/chromiumsync_test.py

Issue 11971025: [sync] Divorce python sync test server chromiumsync.py from testserver.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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 # Copyright (c) 2012 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
11 import autofill_specifics_pb2 11 import autofill_specifics_pb2
12 import bookmark_specifics_pb2 12 import bookmark_specifics_pb2
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 changes[0].client_defined_unique_tag) 646 changes[0].client_defined_unique_tag)
647 self.assertTrue(changes[0].HasField("specifics")) 647 self.assertTrue(changes[0].HasField("specifics"))
648 self.assertTrue(changes[0].specifics.HasField("experiments")) 648 self.assertTrue(changes[0].specifics.HasField("experiments"))
649 self.assertTrue( 649 self.assertTrue(
650 changes[0].specifics.experiments.HasField("keystore_encryption")) 650 changes[0].specifics.experiments.HasField("keystore_encryption"))
651 self.assertTrue( 651 self.assertTrue(
652 changes[0].specifics.experiments.keystore_encryption.enabled) 652 changes[0].specifics.experiments.keystore_encryption.enabled)
653 653
654 if __name__ == '__main__': 654 if __name__ == '__main__':
655 unittest.main() 655 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698