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:
Robbie Trencheny authored and Paulus Schoutsen committed 2016-09-25 09:41:11 -07:00
1 parent 986873834a
commit b3d67a7ed9
4 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -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."""