Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6eae445f authored by Aritra Sen's avatar Aritra Sen
Browse files

Verify that page scan enable HCI command is sent to controller.

Bug: 243151078
Test: system/gd/cert/run --topshim AdapterTest.test_enable_page_scan
Tag: #floss
Change-Id: Iafc8d56ec1cb5e5abd3f9d4b4dd4df0b1867fc4f
parent 3ef3c3d7
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -25,9 +25,16 @@ from mobly import test_runner


class AdapterTest(TopshimBaseTest):
class AdapterTest(TopshimBaseTest):


    async def __verify_enable_page_scan(self):
        await self.dut_adapter.set_enable_page_scan()
        return await self.dut_adapter.le_rand()

    def test_verify_adapter_started(self):
    def test_verify_adapter_started(self):
        print("Adapter is verified when test starts")
        print("Adapter is verified when test starts")


    def test_enable_page_scan(self):
        asyncio.get_event_loop().run_until_complete(self.__verify_enable_page_scan())



if __name__ == "__main__":
if __name__ == "__main__":
    test_runner.main()
    test_runner.main()