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:
rallytime 2016-10-18 10:22:31 -06:00
parent ec7626d6ea
commit bab91dbe91

View File

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