Tests that the load segment's string representation contains useful debugging information.
()
| 94 | |
| 95 | |
| 96 | def test_str(): |
| 97 | """ |
| 98 | Tests that the load segment's string representation contains useful |
| 99 | debugging information. |
| 100 | """ |
| 101 | segment = LoadSegment(delivery=2, pickup=3, load=5, excess_load=7) |
| 102 | assert_("delivery=2" in str(segment)) |
| 103 | assert_("pickup=3" in str(segment)) |
| 104 | assert_("load=5" in str(segment)) |
| 105 | assert_("excess_load=7" in str(segment)) |
nothing calls this directly
no test coverage detected