def notify_update(self):
		frappe.publish_realtime("doc_update", {"modified": self.modified, "doctype": self.doctype, "name": self.name},
			doctype=self.doctype, docname=self.name, after_commit=True)

		if not self.meta.get("read_only") and not self.meta.get("issingle") and \
			not self.meta.get("istable"):
			frappe.publish_realtime("list_update", {"doctype": self.doctype}, after_commit=True)
Test that credentials can be retrieved from the config
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.notify_update--crossover with--dataset/ETHPy150Open koenbok/Cactus/cactus/tests/test_credentials.py/CredentialsManagerTestCase.test_read_config