gorakhargosh/watchdog — pull request #107 by michaelmwu (2012-05-18 08:50:54+00:00)
Title: fixed some tests for windows, fixed directory move event for windows

The directory move using the Windows Api checks if the action is a directory action by using src_path. But src_path doesn't exist anymore, so it should check dest_path instead.

I have a Windows 7 64-bit machine, running Python 2.7.2 x32

Also, several tests fail on windows because they expect forward slashes and Windows not to prepend C:/ or whatever drive letter in front of the path. Solved by feeding absolute paths to the tests.