From 04ae7fe5db0e6e0b059db9561eef011a6675dd12 Mon Sep 17 00:00:00 2001 From: shaiu Date: Fri, 14 Apr 2023 21:35:42 +0300 Subject: [PATCH] fix test 2 --- tests/test___init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test___init__.py b/tests/test___init__.py index ce6d749..4dffdcf 100644 --- a/tests/test___init__.py +++ b/tests/test___init__.py @@ -10,7 +10,6 @@ def test_srp6authenticate_no_token(): htm = file.read() responses.add(responses.GET, 'http://192.168.1.2:80/', htm, status=200) tech_gateway = TechnicolorGateway('192.168.1.2', 80, "admin", "aaaaaa") - tech_gateway.authenticate() with pytest.raises(TypeError) as err: tech_gateway.srp6authenticate() assert "'NoneType' object is not subscriptable" in str(err.value)