1#!/usr/bin/env python3 2# Lint as: python3 3""" 4Test E2E CDM functions on mobly. 5""" 6 7import cdm_base_test 8import sys 9 10from mobly import asserts 11from mobly import test_runner 12 13CDM_SNIPPET_PACKAGE = 'android.companion.multidevices' 14 15 16class TransportTestClass(cdm_base_test.BaseTestClass): 17 18 def test_permissions_sync(self): 19 """This tests permissions sync from one device to another.""" 20 21 # associate and attach transports 22 self.attach_transports() 23 24 # start permissions sync 25 self.sender.cdm.startPermissionsSync(self.receiver_id) 26 27 28if __name__ == '__main__': 29 test_runner.main()