This test now work as expected

This commit is contained in:
Davide Andreoli 2018-08-17 11:02:15 +02:00
parent 583f42b131
commit b855a82160
1 changed files with 1 additions and 3 deletions

View File

@ -80,9 +80,7 @@ class TestFileMonitor(unittest.TestCase):
self.assertEqual(fm.path, path)
fm.delete()
# FIXME: we receive two ECORE_FILE_EVENT_DELETED_SELF, it's wrong
# should be [0, 2, 2, 2, 2, 1, 2, 2]
self.assertEqual(self.counters, [0, 2, 2, 2, 2, 2, 2, 2])
self.assertEqual(self.counters, [0, 2, 2, 2, 2, 1, 2, 2])
if __name__ == '__main__':