(self, Context)
| 98 | class offers_singletons: |
| 99 | @patch("invoke.Context") |
| 100 | def run(self, Context): |
| 101 | result = invoke.run("foo", bar="biz") |
| 102 | ctx = Context.return_value |
| 103 | ctx.run.assert_called_once_with("foo", bar="biz") |
| 104 | assert result is ctx.run.return_value |
| 105 | |
| 106 | @patch("invoke.Context") |
| 107 | def sudo(self, Context): |
no outgoing calls
no test coverage detected