mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 22:31:25 -07:00
Consolidate handler tracking (#49338)
* Consolidate handler tracking - Remove unused code. ci_complete - unit test fixes. ci_complete - Restore previous behavior of matching a single handler - when notifying a host for a handler, return True if it was added, False otherwise, to reduce copied logic - rename funcitons for clarity. ci_complete - Remove handler logic for static includes which was disabled previously
This commit is contained in:
parent
62b2a08cfb
commit
2a469fd959
7 changed files with 41 additions and 133 deletions
|
@ -272,7 +272,7 @@ class TestLoadListOfTasks(unittest.TestCase, MixinForMocks):
|
|||
self.assertIsInstance(res[0], Handler)
|
||||
|
||||
# default for Handler
|
||||
self.assertEquals(res[0].listen, None)
|
||||
self.assertEquals(res[0].listen, [])
|
||||
|
||||
# TODO/FIXME: this doesn't seen right
|
||||
# figure out how to get the non-static errors to be raised, this seems to just ignore everything
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue