Exemplo n.º 1
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)
Exemplo n.º 2
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)
Exemplo n.º 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)
Exemplo n.º 4
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)