mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Gate docker unit test to check for docker (#34591)
* Gate docker unit test to check for docker * Change skipIf to check if docker-py is installed, not version check
This commit is contained in:
parent
ae38c874da
commit
7dd8035c62
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class DockerngTestCase(TestCase):
|
|||
all=True,
|
||||
filters={'label': 'KEY'})
|
||||
|
||||
@skipIf(_docker_py_version() is None, 'docker-py needs to be installed for this test to run')
|
||||
@patch.object(dockerng_mod, '_get_exec_driver')
|
||||
def test_check_mine_cache_is_refreshed_on_container_change_event(self, _):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue