(moves, expected)
| 27 | |
| 28 | |
| 29 | def check_moves(moves, expected): |
| 30 | # Can't predict timestamp |
| 31 | for m in moves: |
| 32 | del m['timestamp'] |
| 33 | # But we can absolutely predict created_index. |
| 34 | for i, m in enumerate(expected, start=1): |
| 35 | m['created_index'] = i |
| 36 | assert moves == expected |
| 37 | |
| 38 | |
| 39 | def check_channel_moves(node, expected): |
no outgoing calls
no test coverage detected