Skip to content

Commit

Permalink
fix: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jrriehl committed Oct 23, 2023
1 parent 774869c commit 4ab2b0f
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions python/tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,20 +617,6 @@ async def test_head_agent_not_ready(self):
]
)

# async def test_head_valid_address_ready(mocked):
# mocked.head(url, status=200)
# headers[b"x-uagents-address"] = agent.address.encode()
# dispatcher.register(agent)
# await server(scope, receive, send)
# send.assert_called_with(...) # Check ready status

# @aioresponses()
# async def test_head_invalid_address(mocked):
# mocked.head(url, status=200)
# headers[b"x-uagents-address"] = b"invalid"
# await server(scope, receive, send)
# send.assert_called_with(...) # Check indeterminate status


if __name__ == "__main__":
unittest.main()

0 comments on commit 4ab2b0f

Please sign in to comment.