async def comain(self): face = DummyFace(self.face_proc) keychain = KeychainDigest() self.app = NDNApp(face, keychain) face.app = self.app await self.app.main_loop(self.app_main())
def test_main(self): face = DummyFace(self.face_proc) keychain = KeychainDigest() self.app = NDNApp(face, keychain) face.app = self.app self.app.run_forever(after_start=self.app_main())
async def comain(self): face = DummyFace(self.face_proc) self.signer = sec.DigestSha256Signer() self.app = app.NDNApp(face) face.app = self.app await self.app.main_loop(self.app_main())