# Path: google/cloud/ndb/global_cache.py
# class GlobalCache(object):
# class _InProcessGlobalCache(GlobalCache):
# class RedisCache(GlobalCache):
# class MemcacheCache(GlobalCache):
#     class KeyNotSet(Exception):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):
#     def __init__(self):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):
#     def from_environment(cls, strict_read=False, strict_write=True):
#     def __init__(self, redis, strict_read=False, strict_write=True):
#     def pipes(self):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):
#         def __init__(self, key):
#         def __eq__(self, other):
#     def _parse_host_string(host_string):
#     def _key(key):
#     def from_environment(cls, max_pool_size=4, strict_read=False, strict_write=True):
#     def __init__(self, client, strict_read=False, strict_write=True):
#     def caskeys(self):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):


import collections
    import mock
import pytest
import redis as redis_module
    from unittest import mock
from google.cloud.ndb import global_cache
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


try:
except ImportError:  # pragma: NO PY3 COVER




class TestGlobalCache:
    def make_one(self):

# Path: google/cloud/ndb/global_cache.py
# class GlobalCache(object):
# class _InProcessGlobalCache(GlobalCache):
# class RedisCache(GlobalCache):
# class MemcacheCache(GlobalCache):
#     class KeyNotSet(Exception):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):
#     def __init__(self):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):
#     def from_environment(cls, strict_read=False, strict_write=True):
#     def __init__(self, redis, strict_read=False, strict_write=True):
#     def pipes(self):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):
#         def __init__(self, key):
#         def __eq__(self, other):
#     def _parse_host_string(host_string):
#     def _key(key):
#     def from_environment(cls, max_pool_size=4, strict_read=False, strict_write=True):
#     def __init__(self, client, strict_read=False, strict_write=True):
#     def caskeys(self):
#     def get(self, keys):
#     def set(self, items, expires=None):
#     def set_if_not_exists(self, items, expires=None):
#     def delete(self, keys):
#     def watch(self, items):
#     def unwatch(self, keys):
#     def compare_and_swap(self, items, expires=None):
#     def clear(self):


# Path: tests/unit/test_global_cache.py
import collections
    import mock
import pytest
import redis as redis_module
    from unittest import mock
from google.cloud.ndb import global_cache

# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


try:
except ImportError:  # pragma: NO PY3 COVER




class TestGlobalCache:
    def make_one(self):

        class MockImpl(global_cache.GlobalCache):