Skip to content

Commit

Permalink
message sent
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex committed Dec 3, 2024
1 parent bd06c4c commit 66920fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/nistoar/midas/dbio/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def create_record(self, name: str, shoulder: str = None, foruser: str = None) ->
rec = ProjectRecord(self._projcoll, rec, self)
rec.save()
if self.notification_server:
message = "New record created : "f"{name}"
message = f"New {self._projcoll} created: {name}"
self._notify(message)
return rec

Expand Down
2 changes: 1 addition & 1 deletion python/tests/nistoar/midas/dbio/test_inmem_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ async def receive_messages(uri):

#print(f"Messages: {messages}")
self.assertEqual(len(messages), 1)
self.assertEqual(messages[0], "New record created : mine1")
self.assertEqual(messages[0], "New dmp created: mine1")



Expand Down

0 comments on commit 66920fe

Please sign in to comment.