(p)
| 53 | |
| 54 | @pytest.mark.timeout(5) |
| 55 | def test_move_internal(p): |
| 56 | mkdir(p("dir1")) |
| 57 | mkdir(p("dir2")) |
| 58 | touch(p("dir1", "a")) |
| 59 | |
| 60 | inotify = InotifyBuffer(p("").encode(), recursive=True) |
| 61 | mv(p("dir1", "a"), p("dir2", "b")) |
| 62 | frm, to = wait_for_move_event(inotify.read_event) |
| 63 | assert frm.src_path == p("dir1", "a").encode() |
| 64 | assert to.src_path == p("dir2", "b").encode() |
| 65 | inotify.close() |
| 66 | |
| 67 | |
| 68 | @pytest.mark.timeout(10) |
nothing calls this directly
no test coverage detected
searching dependent graphs…