Skip to content Skip to sidebar Skip to footer

Py.test Does Not Start (ebusy: [resource Device])

Just installed py.test with pip install -U pytest with no errors, however we I'm trying to launch py.test I get error: EBUSY: [Resource device]: listdir('C:\\Users\\Administrator\\

Solution 1:

Apparently, when py.test is called it starts looking through the files/folders using standard test discovery rules. And some folders have access permissions that limit the access, thus this error occurs.

to use py.test one must first navigate to the folder with test cases.

Solution 2:

Post a Comment for "Py.test Does Not Start (ebusy: [resource Device])"