Apprise notifications (#43)

* issue #4 Adding settings screen for apprise URLS
* Adding test notification mechanism

* Move Worker module to own class file

* Adding basic notification URL runner

* Tests for notifications

* Tweak readme with notification info

* Move notification test to main test_backend.py

* Fix spacing

* Adding notifications screenshot

* Cleanup more files from test

* Offer send notification test on individual edits and main/default

* Process global notifications

* All branches test

* Wrap worker notification process in try/catch, use global if nothing set

* Fix syntax

* Handle exception, increase wait time for liveserver to come up

* Fixing test setup

* remove debug

* Split tests into their own totally isolated setups, if you know a better way to make live_server() work, MR :)

* Tidying up lint/imports
This commit is contained in:
dgtlmoon
2021-05-08 11:29:41 +10:00
committed by GitHub
parent b752690f89
commit f877af75b9
17 changed files with 446 additions and 163 deletions
+4 -6
View File
@@ -1,10 +1,7 @@
name: Test only
on:
push:
branches:
- /refs/heads/*
- !master
# Triggers the workflow on push or pull request events
on: [push, pull_request]
jobs:
build:
@@ -31,5 +28,6 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
cd backend; pytest
# Each test is totally isolated and performs its own cleanup/reset
cd backend; ./run_all_tests.sh