mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Don't compare a (0,) object to None in skipIf
We should check to make sure the version is > 0 to run the test
This commit is contained in:
parent
ec7626d6ea
commit
bab91dbe91
@ -65,7 +65,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')
|
||||
@skipIf(_docker_py_version() > 0, '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…
Reference in New Issue
Block a user