(self)
| 23 | assert f._get_prefix(s3) == '' |
| 24 | |
| 25 | def test_node(self): |
| 26 | f = bootsteps.StepFormatter() |
| 27 | f.draw_node = Mock() |
| 28 | step = Mock() |
| 29 | step.last = False |
| 30 | f.node(step, x=3) |
| 31 | f.draw_node.assert_called_with(step, f.node_scheme, {'x': 3}) |
| 32 | |
| 33 | step.last = True |
| 34 | f.node(step, x=3) |
| 35 | f.draw_node.assert_called_with(step, f.blueprint_scheme, {'x': 3}) |
| 36 | |
| 37 | def test_edge(self): |
| 38 | f = bootsteps.StepFormatter() |