Here are the examples of the python api mock.sentinel.base_value taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
3
Source : test_model.py
with Apache License 2.0
from googleapis
with Apache License 2.0
from googleapis
def test___eq__():
wrapped1 = model._BaseValue("one val")
wrapped2 = model._BaseValue(25.5)
wrapped3 = mock.sentinel.base_value
assert wrapped1 == wrapped1
assert not wrapped1 == wrapped2
assert not wrapped1 == wrapped3
@staticmethod
3
Source : test_model.py
with Apache License 2.0
from googleapis
with Apache License 2.0
from googleapis
def test___ne__():
wrapped1 = model._BaseValue("one val")
wrapped2 = model._BaseValue(25.5)
wrapped3 = mock.sentinel.base_value
wrapped4 = model._BaseValue("one val")
assert not wrapped1 != wrapped1
assert wrapped1 != wrapped2
assert wrapped1 != wrapped3
assert not wrapped1 != wrapped4
@staticmethod