add a pytest.ini and update a dependency for kitchen

This commit is contained in:
Daniel Wallace 2018-05-15 20:55:18 -05:00
parent 418364a533
commit dfd5a8715f
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48
3 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
source 'https://rubygems.org'
gem 'test-kitchen', :git => 'https://github.com/gtmanfred/test-kitchen.git'
gem 'test-kitchen', '>=1.21.0'
gem 'kitchen-salt', :git => 'https://github.com/saltstack/kitchen-salt.git'
gem 'kitchen-sync'
gem 'git'

4
pytest.ini Normal file
View File

@ -0,0 +1,4 @@
[pytest]
addopts = --ssh-tests -ra -sv
testpaths = tests
norecursedirs = tests/kitchen

View File

@ -105,7 +105,7 @@ def pytest_addoption(parser):
test_selection_group.addoption(
'--proxy',
'--proxy-tests',
dest='ssh',
dest='proxy',
action='store_true',
default=False,
help='Run proxy tests'