Skip to content

Commit

Permalink
fix test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
shaiu committed Apr 14, 2023
1 parent 4fc617b commit 04ae7fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test___init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 04ae7fe

Please sign in to comment.