mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
explain why we need to touch() twice
This commit is contained in:
parent
5141105441
commit
365ff1a02c
@ -90,6 +90,9 @@ class INotifyTests(AsyncTestCase):
|
||||
sends an C{inotify.IN_ATTRIB} event to the callback.
|
||||
"""
|
||||
def operation(path):
|
||||
# Create the file.
|
||||
path.touch()
|
||||
# Modify the file's attributes.
|
||||
path.touch()
|
||||
|
||||
return self._notificationTest(inotify.IN_ATTRIB, operation)
|
||||
|
Loading…
x
Reference in New Issue
Block a user