| Conditions | 2 |
| Total Lines | 5 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """Tests of the _options module. |
||
| 16 | def test_check_invest_attributes_nonconvex(): |
||
| 17 | """Check error being thrown if nonconvex parameter is not of type bool""" |
||
| 18 | msg = ( |
||
| 19 | "The `nonconvex` parameter of the `Investment` class has to be of type" |
||
| 20 | + " boolean, not <class 'oemof.solph._options.NonConvex'>." |
||
| 21 | ) |
||
| 41 |