Improved test cases (#137)

This commit is contained in:
Chris Caron
2023-09-17 15:53:18 -04:00
committed by GitHub
parent 42893d7855
commit a54d7b42f1
3 changed files with 144 additions and 12 deletions

View File

@ -144,6 +144,9 @@ class StatelessNotifyTests(SimpleTestCase):
'body': 'test notifiction',
}
# Monkey Patch
apprise.plugins.NotifyEmail.NotifyEmail.enabled = True
# At a minimum 'body' is requred
form = NotifyByUrlForm(data=form_data)
assert form.is_valid()