Test right alignment.
(self)
| 121 | assert len(result) == 10 |
| 122 | |
| 123 | def test_right_align(self): |
| 124 | """Test right alignment.""" |
| 125 | result = pad_to_width("Hello", 10, align="right") |
| 126 | assert result == " Hello" |
| 127 | assert len(result) == 10 |
| 128 | |
| 129 | def test_center_align(self): |
| 130 | """Test center alignment.""" |
nothing calls this directly
no test coverage detected