Here are the examples of the python api mock.sentinel.entity taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Source : test_model.py
with Apache License 2.0
from googleapis
with Apache License 2.0
from googleapis
def test__is_initialized_not_required():
prop = model.Property(name="prop", required=False)
entity = mock.sentinel.entity
assert prop._is_initialized(entity)
# Cache is untouched.
assert model.Property._FIND_METHODS_CACHE == {}
@staticmethod