Skip to content

Commit ae90e12

Browse files
committed
Fix test after rebase
Signed-off-by: jamshale <[email protected]>
1 parent 7dc00b9 commit ae90e12

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

acapy_agent/revocation/models/tests/test_issuer_rev_reg_record.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from unittest import IsolatedAsyncioTestCase
55

66
from ....askar.profile import AskarProfileSession
7-
from ....core.in_memory import InMemoryProfile
87
from ....indy.issuer import IndyIssuer, IndyIssuerError
98
from ....indy.util import indy_client_dir
109
from ....ledger.base import BaseLedger
@@ -175,10 +174,9 @@ async def test_fix_ledger_entry(self, mock_handle):
175174
},
176175
},
177176
)
178-
_test_session = InMemoryProfile.test_session(
177+
_test_profile = await create_test_profile(
179178
settings={"tails_server_base_url": "http://1.2.3.4:8088"},
180179
)
181-
_test_profile = _test_session.profile
182180
_test_profile.context.injector.bind_instance(BaseLedger, self.ledger)
183181
with mock.patch.object(
184182
test_module.IssuerCredRevRecord,
@@ -249,7 +247,7 @@ async def test_generate_registry_etc(self):
249247
json.dumps(REV_REG_ENTRY),
250248
)
251249

252-
with mock.patch.object(test_module, "move", mock.MagicMock()) as mock_move:
250+
with mock.patch.object(test_module, "move", mock.MagicMock()):
253251
await rec.generate_registry(self.profile)
254252

255253
assert rec.revoc_reg_id == REV_REG_ID

0 commit comments

Comments
 (0)