Check content with simple unstyled text.
()
| 23 | |
| 24 | |
| 25 | def test_simple(): |
| 26 | """Check content with simple unstyled text.""" |
| 27 | simple = Content("foo") |
| 28 | assert isinstance(simple, Content) |
| 29 | assert str(simple) == "foo" |
| 30 | assert simple.plain == "foo" |
| 31 | assert simple # Not empty is truthy |
| 32 | assert simple.markup == "foo" |
| 33 | assert len(simple) == 3 |
| 34 | assert simple.spans == [] |
| 35 | |
| 36 | |
| 37 | def test_constructor(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…