File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 33log.html
44output.xml
55report.html
6+ credentials
Original file line number Diff line number Diff line change 2424import apprise
2525import logging
2626import copy
27- import sys
2827
2928logging .basicConfig (
3029 level = logging .DEBUG , format = "%(asctime)s %(module)s -%(levelname)s- %(message)s"
@@ -43,7 +42,7 @@ class AppriseLibrary:
4342 DEFAULT_BODY = ""
4443 DEFAULT_CLIENTS = []
4544 DEFAULT_ATTACHMENTS = []
46- DEFAULT_DELIMITER = ','
45+ DEFAULT_DELIMITER = ","
4746
4847 # Class-internal Apprise parameters
4948 __title = None
@@ -319,6 +318,4 @@ def send_apprise_message(
319318
320319
321320if __name__ == "__main__" :
322- a = AppriseLibrary ()
323- a .set_delimiter (',' )
324321 pass
Original file line number Diff line number Diff line change 1+ # This is a simple robot which sends a push message through Apprise
2+ # Author: Joerg Schultze-Lutter
3+ # https://www.github.com/joergschultzelutter/robotframework-apprise
4+
5+ *** Settings ***
6+ Library AppriseLibrary.py
7+
8+ *** Variables ***
9+ @{IMAGE_LIST } https://miro.medium.com/max/553/1*wnMQPTmEsIq0TiRgfX4hig.png https://raw.githubusercontent.com/caronc/apprise/master/apprise/assets/themes/default/apprise-logo.png
10+ ${CLIENT } CONFIGURE_THIS_SETTING_WITH_AT_LEAST_ONE_VALID_APPRISE_ACCOUNT
11+
12+ *** Test Cases ***
13+ Send Message Through Apprise
14+ Send Apprise Message title=Robot Framework Apprise Demo body=Connect to Apprise with your Robot Framework Tests! clients=${CLIENT } attachments=${IMAGE_LIST }
You can’t perform that action at this time.
0 commit comments