Skip to content

Commit

Permalink
Merge pull request sicpa-dlab#63 from spivachuk/benchmark-fix
Browse files Browse the repository at this point in the history
Fixed async fixture in benchmarks
  • Loading branch information
victormartinez-work committed Dec 3, 2022
2 parents 0bf6051 + 90682fb commit 333cc67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/performance/test_performance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from time import perf_counter_ns

import pytest
import pytest_asyncio

from didcomm.pack_encrypted import PackEncryptedConfig, pack_encrypted
from didcomm.unpack import unpack, UnpackConfig
Expand Down Expand Up @@ -56,7 +57,7 @@ def resolvers_config_bob(resolvers_config_bob_all_in_secrets):
return resolvers_config_bob_all_in_secrets


@pytest.fixture
@pytest_asyncio.fixture()
async def all_bob_key_agreement_kids(resolvers_config_alice):
bob_did_doc = await resolvers_config_alice.did_resolver.resolve(BOB_DID)
all_key_agreement_kids = bob_did_doc.key_agreement_kids
Expand Down

0 comments on commit 333cc67

Please sign in to comment.