Skip to content

Commit

Permalink
Remove workaround after fix in hexkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Apr 22, 2024
1 parent 4e7c103 commit 4ab4f4e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ async def test_create_access_request(
"""Test that an active user can create an access request."""
kafka = joint_fixture.kafka
topic = joint_fixture.config.access_request_events_topic
async with kafka.record_events(in_topic=topic):
pass # skip previous events
async with kafka.record_events(in_topic=topic) as recorder:
response = await joint_fixture.rest_client.post(
"/access-requests", json=CREATION_DATA, headers=auth_headers_doe
Expand Down Expand Up @@ -307,8 +305,6 @@ async def test_patch_access_request(
# set status to allowed as data steward
kafka = joint_fixture.kafka
topic = joint_fixture.config.access_request_events_topic
async with kafka.record_events(in_topic=topic):
pass # skip previous events
async with kafka.record_events(in_topic=topic) as recorder:
response = await joint_fixture.rest_client.patch(
f"/access-requests/{access_request_id}",
Expand Down

0 comments on commit 4ab4f4e

Please sign in to comment.