Skip to content

Commit 50e6a3e

Browse files
test_routes.py
Signed-off-by: ram.challa <ram.challa@ontario.ca>
1 parent ed6a67f commit 50e6a3e

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

aries_cloudagent/revocation/tests/test_routes.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -885,33 +885,6 @@ async def test_set_rev_reg_state_not_found(self):
885885
result = await test_module.set_rev_reg_state(self.request)
886886
mock_json_response.assert_not_called()
887887

888-
# async def test_delete_tail(self):
889-
# CRED_DEF_ID = f"{self.test_did}:3:CL:1234:default"
890-
# REV_REG_ID = "{}:4:{}:3:CL:1234:default:CL_ACCUM:default".format(
891-
# self.test_did, self.test_did
892-
# )
893-
# self.request.query = {"cred_def_id": CRED_DEF_ID,
894-
# "rev_reg_id": REV_REG_ID}
895-
# self.request.json = async_mock.CoroutineMock(
896-
# return_value={
897-
# "message": "All files deleted successfully"
898-
# }
899-
# )
900-
#
901-
# with async_mock.patch.object(
902-
# test_module, "IndyRevocation", autospec=True
903-
# ) as mock_indy_revoc, async_mock.patch.object(
904-
# test_module.web, "json_response", async_mock.Mock()
905-
# ) as mock_json_response:
906-
# mock_indy_revoc.return_value = async_mock.MagicMock(
907-
# get_issuer_rev_reg_record=async_mock.CoroutineMock(
908-
# tails_local_path=f"/tmp/tails/{REV_REG_ID}",
909-
# return_value={"dummy": "dummy"})
910-
# )
911-
#
912-
# result = await test_module.delete_tails(self.request)
913-
# mock_json_response.assert_called_once_with({"message": "All files deleted successfully"})
914-
# assert result is mock_json_response.return_value
915888

916889
async def test_register(self):
917890
mock_app = async_mock.MagicMock()

0 commit comments

Comments
 (0)