def setUp(self): # Generate the keys ret = nacl.keygen() self.assertIn("pk", ret) self.assertIn("sk", ret) self.pk = ret["pk"] self.sk = ret["sk"]
def setUp(self): # Generate the keys ret = nacl.keygen() self.assertIn('pk', ret) self.assertIn('sk', ret) self.pk = ret['pk'] self.sk = ret['sk']