Init
This commit is contained in:
13
tests/notifier_test.py
Normal file
13
tests/notifier_test.py
Normal file
@ -0,0 +1,13 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user