Here are the examples of the python api mock.sentinel.parent taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Source : test_key.py
with Apache License 2.0
from googleapis
with Apache License 2.0
from googleapis
def test_constructor_with_parent_bad_type(self):
parent = mock.sentinel.parent
with pytest.raises(exceptions.BadValueError):
key_module.Key("Zip", 10, parent=parent)
@staticmethod