This commit is contained in:
Torsten Ueberschar
2022-10-13 12:19:03 +02:00
parent 883e046c67
commit 347be92462
2 changed files with 25 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
import unittest
from unittest import mock
import services
@@ -27,3 +28,7 @@ def test_is_mail_send():
email_service.send.assert_called_once_with("test@receiver", "test invoice")
invoice_service.create_invoice.assert_called()
if __name__ == '__main__':
unittest.main()