-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Labels
bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behavior
Description
@jorgenschaefer I have probably screwed up something, but your tests from #79 seem to be a little bit too fragile:
======================================================================
ERROR: test_does_not_fail_for_permission_denied (ropetest.projecttest.ProjectTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/matej/archiv/knihovna/repos/rope/ropetest/projecttest.py", line 228, in test_does_not_fail_for_permission_denied
os.makedirs(bad_dir)
File "/usr/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: 'sample_folder/bad_dir'
----------------------------------------------------------------------
Could you make your tests a bit more robust, please, and survive some files existing?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUnexpected or incorrect user-visible behaviorUnexpected or incorrect user-visible behavior