Change notify target property to be a dictionary (#3501)
* Change notify target property to be a dictionary * Make demo target properties unique and fix test to match behavior
This commit is contained in:
1 parent
986873834a
commit
b3d67a7ed9
4 files changed
+10
-7
No files matched your search
@@ -25,7 +25,7 @@ class DemoNotificationService(BaseNotificationService):
|
||||
@property
|
||||
def targets(self):
|
||||
"""Return a dictionary of registered targets."""
|
||||
return ["test target"]
|
||||
return {"test target name": "test target id"}
|
||||
|
||||
def send_message(self, message="", **kwargs):
|
||||
"""Send a message to a user."""
|
||||
|
||||
Reference in new issue
Block a user