()
| 28 | |
| 29 | |
| 30 | def test_mark(): |
| 31 | sa = core.Core() |
| 32 | with taddons.context(loadcore=False): |
| 33 | f = tflow.tflow() |
| 34 | assert not f.marked |
| 35 | sa.mark([f], ":default:") |
| 36 | assert f.marked |
| 37 | |
| 38 | with pytest.raises(exceptions.CommandError): |
| 39 | sa.mark([f], "invalid") |
| 40 | |
| 41 | sa.mark_toggle([f]) |
| 42 | assert not f.marked |
| 43 | sa.mark_toggle([f]) |
| 44 | assert f.marked |
| 45 | |
| 46 | |
| 47 | def test_kill(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…