# Path: google/cloud/ndb/_datastore_types.py
# _MAX_STRING_LENGTH = 1500
# class BlobKey(object):
#     def __init__(self, blob_key):
#     def __eq__(self, other):
#     def __lt__(self, other):
#     def __hash__(self):
# 
# Path: google/cloud/ndb/exceptions.py
# class Error(Exception):
# class ContextError(Error):
# class BadValueError(Error):
# class BadArgumentError(Error):
# class BadRequestError(Error):
# class Rollback(Error):
# class BadQueryError(Error):
# class BadFilterError(Error):
# class NoLongerImplementedError(NotImplementedError):
# class Cancelled(Error):
# class NestedRetryException(Error):
#     def __init__(self):
#     def __init__(self, filter):
#     def __init__(self):


    from unittest import mock
from google.cloud.ndb import _datastore_types
from google.cloud.ndb import exceptions
    import mock
import pytest
# 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 TestBlobKey:
    @staticmethod
    def test_constructor_bytes():
        value = b"abc"

# Path: google/cloud/ndb/_datastore_types.py
# _MAX_STRING_LENGTH = 1500
# class BlobKey(object):
#     def __init__(self, blob_key):
#     def __eq__(self, other):
#     def __lt__(self, other):
#     def __hash__(self):
# 
# Path: google/cloud/ndb/exceptions.py
# class Error(Exception):
# class ContextError(Error):
# class BadValueError(Error):
# class BadArgumentError(Error):
# class BadRequestError(Error):
# class Rollback(Error):
# class BadQueryError(Error):
# class BadFilterError(Error):
# class NoLongerImplementedError(NotImplementedError):
# class Cancelled(Error):
# class NestedRetryException(Error):
#     def __init__(self):
#     def __init__(self, filter):
#     def __init__(self):


# Path: tests/unit/test__datastore_types.py
    from unittest import mock
from google.cloud.ndb import _datastore_types
from google.cloud.ndb import exceptions
    import mock
import pytest

# 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 TestBlobKey:
    @staticmethod
    def test_constructor_bytes():
        value = b"abc"

        blob_key = _datastore_types.BlobKey(value)