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:
parent
b5aed11c17
commit
2b49c2259b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user