(make_timeline)
| 257 | |
| 258 | |
| 259 | def test_before(make_timeline): |
| 260 | timeline, _ = make_timeline() |
| 261 | t = timeline.beginning |
| 262 | |
| 263 | first = timeline.mark("first") |
| 264 | timeline.mark("second") |
| 265 | |
| 266 | with timeline.frozen(): |
| 267 | assert t >> Mark("second") >> Mark("first") not in timeline |
| 268 | assert Mark("second") >> first not in timeline |
| 269 | |
| 270 | third = timeline.mark("third") |
| 271 | |
| 272 | with timeline.frozen(): |
| 273 | assert t >> Mark("second") >> Mark("first") not in timeline |
| 274 | assert Mark("second") >> first not in timeline |
| 275 | assert t >> Mark("second") >> Mark("third") in timeline |
| 276 | assert Mark("second") >> third in timeline |
| 277 | |
| 278 | |
| 279 | def test_and(make_timeline): |
nothing calls this directly
no test coverage detected
searching dependent graphs…