(self, method, args, kwargs)
| 46 | return env |
| 47 | |
| 48 | def bodycontent(self, method, args, kwargs): |
| 49 | n = 0 |
| 50 | root = self.method(method) |
| 51 | for pd in self.param_defs(method): |
| 52 | if n < len(args): |
| 53 | value = args[n] |
| 54 | else: |
| 55 | value = kwargs.get(pd[0]) |
| 56 | p = self.mkparam(method, pd, value) |
| 57 | if p is not None: |
| 58 | root.append(p) |
| 59 | n += 1 |
| 60 | return root |
| 61 | |
| 62 | def replycontent(self, method, body): |
| 63 | return body[0].children |
nothing calls this directly
no test coverage detected