API tests are not using api_url
command-line option, defaulting to config file value
#481
Labels
api_url
command-line option, defaulting to config file value
#481
I have identified a bug in our framework where the api tests are not using the value provided for the api_url command-line option. Instead, the tests always default to using the API URL from the configuration file base_url_conf.api_base_url.
Steps to reproduce:
--api_url
command-line option set to a different value than the one in the configuration file.pytest tests/test_api_example.py --api_url "https://qxf2.com"
Expected behavior:
The test should prioritize and use the api_url provided through the command line option over the one from the configuration file.
Please investigate and fix this issue so that the framework properly utilizes the command-line option for the api_url.
The text was updated successfully, but these errors were encountered: