1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

service.test: add one more handler test case

This commit is contained in:
Johan Andersson 2018-10-05 23:45:09 +02:00
parent b5aed11c17
commit 2b49c2259b

View File

@ -28,3 +28,8 @@ class service_handlerTest(unittest.TestCase):
def test_service_handler(self):
config = setup_defaults()
self.assertIsNone(service_handler(sites, config, "localhost"))
class service_handlerTest2(unittest.TestCase):
def test_service_handler(self):
config = setup_defaults()
self.assertIsInstance(service_handler(sites, config, "https://www.svtplay.se"), Service)