(p)
| 25 | |
| 26 | @pytest.mark.timeout(5) |
| 27 | def test_move_from(p): |
| 28 | mkdir(p("dir1")) |
| 29 | mkdir(p("dir2")) |
| 30 | touch(p("dir1", "a")) |
| 31 | |
| 32 | inotify = InotifyBuffer(p("dir1").encode()) |
| 33 | mv(p("dir1", "a"), p("dir2", "b")) |
| 34 | event = wait_for_move_event(inotify.read_event) |
| 35 | assert event.is_moved_from |
| 36 | assert event.src_path == p("dir1", "a").encode() |
| 37 | inotify.close() |
| 38 | |
| 39 | |
| 40 | @pytest.mark.timeout(5) |
nothing calls this directly
no test coverage detected
searching dependent graphs…