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:
Justin Anderson 2016-07-12 11:33:31 -06:00 committed by Nicole Thomas
parent ae38c874da
commit 7dd8035c62

View file

@ -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, _):
'''