Here are the examples of the python api mock.sentinel.bad taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
0
Source : test_model.py
with Apache License 2.0
from googleapis
with Apache License 2.0
from googleapis
def test_constructor_positional_bad_type():
with pytest.raises(TypeError):
model.KeyProperty("a", mock.sentinel.bad)
@staticmethod
0
Source : test_model.py
with Apache License 2.0
from googleapis
with Apache License 2.0
from googleapis
def test_constructor_bad_kind():
with pytest.raises(TypeError):
model.KeyProperty(kind=mock.sentinel.bad)
@staticmethod