(self)
| 40 | ) |
| 41 | |
| 42 | def test_pad_negative_length(self): |
| 43 | for function in (LPad, RPad): |
| 44 | with self.subTest(function=function): |
| 45 | with self.assertRaisesMessage( |
| 46 | ValueError, "'length' must be greater or equal to 0." |
| 47 | ): |
| 48 | function("name", -1) |
| 49 | |
| 50 | def test_combined_with_length(self): |
| 51 | Author.objects.create(name="Rhonda", alias="john_smith") |
nothing calls this directly
no test coverage detected