barcode-server/tests/notifier_test.py
2022-06-24 12:14:10 -07:00

14 lines
298 B
Python

from barcode_server.notifier.http import HttpNotifier
from tests import TestBase
class NotifierTest(TestBase):
def test_http(self):
method = "POST"
url = "test.de"
headers = []
reader = HttpNotifier(method, url, headers)
self.assertIsNotNone(reader)