コード例 #1
0
 def test_behavior_readonly_public_attributes(self):
     event = FileSystemEvent(EVENT_TYPE_MODIFIED, path_1, True)
     for prop in list_attributes(event):
         self.assertRaises(AttributeError, setattr, event, prop, None)
コード例 #2
0
 def test_behavior_readonly_public_attributes(self):
     event = DirCreatedEvent(path_1)
     for prop in list_attributes(event):
         self.assertRaises(AttributeError, setattr, event, prop, None)
コード例 #3
0
 def test_behavior_readonly_public_attributes(self):
     event = FileSystemEvent(EVENT_TYPE_MODIFIED, path_1, True)
     for prop in list_attributes(event):
         self.assertRaises(AttributeError, setattr, event, prop, None)
コード例 #4
0
 def test_behavior_readonly_public_attributes(self):
     event = FileSystemMovedEvent(path_2, path_1, True)
     for prop in list_attributes(event):
         self.assertRaises(AttributeError, setattr, event, prop, None)
コード例 #5
0
 def test_behavior_readonly_public_attributes(self):
     event = DirMovedEvent(path_1, path_2)
     for prop in list_attributes(event):
         self.assertRaises(AttributeError, setattr, event, prop, None)