()
| 55 | |
| 56 | |
| 57 | def test_revert(): |
| 58 | sa = core.Core() |
| 59 | with taddons.context(loadcore=False): |
| 60 | f = tflow.tflow() |
| 61 | f.backup() |
| 62 | f.request.content = b"bar" |
| 63 | assert f.modified() |
| 64 | sa.revert([f]) |
| 65 | assert not f.modified() |
| 66 | |
| 67 | |
| 68 | def test_flow_set(): |