Skip to content

Replacing deprecated pytest code with new code

Compare
Choose a tag to compare
@mdmintz mdmintz released this 23 Jan 19:59
· 6434 commits to master since this release
0dbd4b8

Mostly replacing deprecated pytest code with new code to prevent:
PytestDeprecationWarning: the `pytest.config` global is deprecated. Please use `request.config` or `pytest_configure` (if you're a pytest plugin) instead.

The solution involved using sb_config in place of pytest.config.option

Unrelated, there's also a small update to fix a console script used for downloading the selenium server jar file. (It's only needed when you're trying to run your own Selenium Grid)