__main__.py: error: unrecognized arguments: --tavern-merge-ext-function-values
ShehrozAli77 opened this issue · 3 comments
I am trying to pass tavern-merge-ext-function-values flag through command-line as well as through pytest.ini but I keep getting unrecognised arguments. Attaching pics for more info
command
Directory
Dependencies
This is a case of bad documentation, it's been removed and is now the default, so you don't need to use that flag any more
I even tried without the flag, but It would not work, The response from the extern function was only used, it would not merge other available variables.
Can you provide a reproducible example of that, there are some tests to make sure that it works properly: https://github.com/octathorp/tavern/blob/a41570faf28e87af87afbc3e4a50da1ba7e174eb/tests/integration/test_external_functions.tavern.yaml#L116-L118