(self)
| 8 | class test_StepFormatter: |
| 9 | |
| 10 | def test_get_prefix(self): |
| 11 | f = bootsteps.StepFormatter() |
| 12 | s = Mock() |
| 13 | s.last = True |
| 14 | assert f._get_prefix(s) == f.blueprint_prefix |
| 15 | |
| 16 | s2 = Mock() |
| 17 | s2.last = False |
| 18 | s2.conditional = True |
| 19 | assert f._get_prefix(s2) == f.conditional_prefix |
| 20 | |
| 21 | s3 = Mock() |
| 22 | s3.last = s3.conditional = False |
| 23 | assert f._get_prefix(s3) == '' |
| 24 | |
| 25 | def test_node(self): |
| 26 | f = bootsteps.StepFormatter() |
nothing calls this directly
no test coverage detected