'Testing binary lookup fallback'

@unittest.skipIf(six.PY3, 'py2    test    only')
@mock.patch('os.path.exists')
@mock.patch('os.environ.get')
def test_binary_lookup_fallback(self, mock_env_get, mock_path_exists):

    mock_env_get.side_effect = (lambda _v, _d: '')
    mock_path_exists.side_effect = (lambda _: False)
    self.assertEqual(locate_oc_binary(), 'oc')
