(self, target, name=SENTINEL, value=SENTINEL, **kwargs)
| 601 | return value |
| 602 | |
| 603 | def setattr(self, target, name=SENTINEL, value=SENTINEL, **kwargs): |
| 604 | # alias to __call__ with the interface of pytest.monkeypatch.setattr |
| 605 | if value is SENTINEL: |
| 606 | value, name = name, None |
| 607 | return self(target, value, name=name) |
| 608 | |
| 609 | def setitem(self, dic, name, value=SENTINEL, new=MagicMock, **kwargs): |
| 610 | # same as pytest.monkeypatch.setattr but default value is MagicMock |
no outgoing calls
no test coverage detected