diff --git a/lib/svtplay_dl/service/tests/service.py b/lib/svtplay_dl/service/tests/service.py index 7797661..3c4dc58 100644 --- a/lib/svtplay_dl/service/tests/service.py +++ b/lib/svtplay_dl/service/tests/service.py @@ -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)