Skip to content

Commit

Permalink
Clean up tavernhook
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Jan 18, 2024
1 parent 48b684a commit da53616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tavern/_plugins/grpc/tavernhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import yaml

from tavern._core.dict_util import format_keys
from tavern._core.pytest.config import TestConfig

from .client import GRPCClient
from .request import GRPCRequest
Expand All @@ -18,8 +19,7 @@
request_block_name = "grpc_request"


def get_expected_from_request(response_block, test_block_config, session):
# format so we can subscribe to the right topic
def get_expected_from_request(response_block, test_block_config: TestConfig, session):
f_expected = format_keys(response_block, test_block_config.variables)
expected = f_expected

Expand Down

0 comments on commit da53616

Please sign in to comment.