Open darkn3rd opened 6 years ago
When running tests with kitchen verify, getting this deprecation warning:
kitchen verify
/usr/local/lib/python2.7/dist-packages/testinfra/main.py:20: UserWarning: calling testinfra is deprecated, call py.test instead warnings.warn('calling testinfra is deprecated, call py.test instead')
This is because tests are executed using something like this:
testinfra --verbose /tmp/verifier/suites/testinfra/test_default.py
Looking at the current documentation, it looks like tests should be run as:
py.test -v /tmp/verifier/suites/testinfra/test_default.py
When running tests with
kitchen verify
, getting this deprecation warning:This is because tests are executed using something like this:
Looking at the current documentation, it looks like tests should be run as: