« Previous | Next » 

Revision 0f85ebd9

Parent 3bd0f3d8
Child 3ccb3a64

Added by Iustin Pop about 11 years ago

Fix asyncnotifier unit tests

On my workstation, if I run the following two tests in this exact

- TestSingleFileEventHandler.testError
- TestSingleFileEventHandler.testReplace

the second test will fail, because there is no "unregister" of
previous tests (and the poll() done by asyncore will fire on the
previous files which are now removed, etc. etc.).

While investigating this, I realised that we don't do any cleanup of
the various handlers/notifiers we setup for this test, so if we simply
add a proper cleanup, the tests will work nicely (in any order :).

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences