_fmt_converter_call determines the arguments to the wrapped converter according to `takes_self` and `takes_field`.
(self, scenario)
| 50 | ], |
| 51 | ) |
| 52 | def test_fmt_converter_call(self, scenario): |
| 53 | """ |
| 54 | _fmt_converter_call determines the arguments to the wrapped converter |
| 55 | according to `takes_self` and `takes_field`. |
| 56 | """ |
| 57 | (takes_self, takes_field), expect = scenario |
| 58 | |
| 59 | c = Converter(None, takes_self=takes_self, takes_field=takes_field) |
| 60 | |
| 61 | assert expect == c._fmt_converter_call("le_name", "le_value") |
| 62 | |
| 63 | def test_works_as_adapter(self): |
| 64 | """ |
nothing calls this directly
no test coverage detected