From bf0e7551a4c807bce9a2b55b9c42050e2de50ecb Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Mon, 9 Oct 2023 19:13:48 +0530 Subject: [PATCH] chore: linters --- packages/open_aea/agents/http_echo/aea-config.yaml | 2 +- packages/packages.json | 4 ++-- packages/valory/connections/http_server/connection.yaml | 2 +- .../valory/connections/http_server/tests/test_http_server.py | 2 +- tests/test_aea_builder.py | 2 +- tests/test_cli/test_remove/test_dependencies.py | 2 +- tests/test_helpers/test_base.py | 4 ++-- .../test_http_server/test_http_server_and_client.py | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/open_aea/agents/http_echo/aea-config.yaml b/packages/open_aea/agents/http_echo/aea-config.yaml index 4cf5c3cef2..38ca8908ab 100644 --- a/packages/open_aea/agents/http_echo/aea-config.yaml +++ b/packages/open_aea/agents/http_echo/aea-config.yaml @@ -8,7 +8,7 @@ fingerprint: README.md: bafybeibkr6ecv5efx3hwxvxposvpmr76ugrj6kydeasb7bppo3ibynnjcu fingerprint_ignore_patterns: [] connections: -- valory/http_server:0.22.0:bafybeihtkwnmohvusfjjhahb7gxbyh6yo22cumaghfe4mbunscusbcbiym +- valory/http_server:0.22.0:bafybeie3d6tj2kzewced4nnttxdvr7njue2ortvawmwdt67gwf4tcuosom contracts: [] protocols: - fetchai/default:1.0.0:bafybeibtqp56jkijwjsohk4z5vqp6pfkiexmnmk5uleteotbsgrypy6gxm diff --git a/packages/packages.json b/packages/packages.json index 10af5f7451..54f247010b 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -9,7 +9,7 @@ "protocol/valory/ledger_api/1.0.0": "bafybeige5agrztgzfevyglf7mb4o7pzfttmq4f6zi765y4g2zvftbyowru", "connection/fetchai/stub/0.21.0": "bafybeictgpdqbpyppmoxn2g7jkaxvulihew7zaszv4xyhgvsntq7tqs7wi", "connection/valory/ledger/0.19.0": "bafybeigo5vst3zlltkouenwxuzn6c47yr2fbbml6dl2o32rfnsezmalgnu", - "connection/valory/http_server/0.22.0": "bafybeihtkwnmohvusfjjhahb7gxbyh6yo22cumaghfe4mbunscusbcbiym", + "connection/valory/http_server/0.22.0": "bafybeie3d6tj2kzewced4nnttxdvr7njue2ortvawmwdt67gwf4tcuosom", "connection/valory/p2p_libp2p/0.1.0": "bafybeiaykya7tvir7k5scovjzuagpfcftvptxoi2od5qqqvukwglsrrtzy", "connection/valory/p2p_libp2p_client/0.1.0": "bafybeihge56dn3xep2dzomu7rtvbgo4uc2qqh7ljl3fubqdi2lq44gs5lq", "connection/valory/p2p_libp2p_mailbox/0.1.0": "bafybeieufv6tbei3vza7bg7ggzsvyvwmzps5kghxlar3drhme6d7mxawvy", @@ -26,7 +26,7 @@ "agent/fetchai/gym_aea/0.25.0": "bafybeif5c657r3ixuosbyihtsdzr2tqifikxgy5e6t7ur2jmhtiolina3m", "agent/fetchai/my_first_aea/0.27.0": "bafybeicrgya4gln4lqr3ba76t2cuyik37lcgr64kzna2fkoseseobytaa4", "agent/open_aea/gym_aea/0.1.0": "bafybeibyyl4wtnrfxeoed3kjnlftphkcikdqrgf76u34v4wbvwgsqfqrgy", - "agent/open_aea/http_echo/0.1.0": "bafybeiabnmq7c7nu5lon7jvhrmdan72fn47tntzgy5b2lalrxhmochazi4", + "agent/open_aea/http_echo/0.1.0": "bafybeiaosh5h4msjh4rubd3xnygpqco47hjv4zbt6cz4zrai6zmvd77bv4", "agent/open_aea/my_first_aea/0.1.0": "bafybeibv7nlyxldyj5ntivsu74ylul4dltpfvkfa46k2pbveetfpkvz4jm", "connection/fetchai/local/0.20.0": "bafybeigukufpgy2sdkv5qqde47dhigbjitxcrxwg6sl6unlpbc7wbxqyhm", "connection/valory/http_client/0.23.0": "bafybeifgeqgryx6b3s6eseyzyezygmeitcpt3tkor2eiycozoi6clgdrny", diff --git a/packages/valory/connections/http_server/connection.yaml b/packages/valory/connections/http_server/connection.yaml index 8370961273..486e27fb00 100644 --- a/packages/valory/connections/http_server/connection.yaml +++ b/packages/valory/connections/http_server/connection.yaml @@ -15,7 +15,7 @@ fingerprint: tests/data/certs/server.csr: bafybeicvp7xdl5w3o4bzikkudpduitss3bpp6xqfwlxbw6kabdangohy5u tests/data/certs/server.key: bafybeiabvpkpqr4fctrbssfal6pviv5otgmu32qyrfpyhcql5wgmlzjtoe tests/data/petstore_sim.yaml: bafybeiaekkfxljlv57uviz4ug6isdqbzsnuxpsgy3dvhzh22daql3xh2i4 - tests/test_http_server.py: bafybeicixzlwx5aodces44mtkpkhxaombb5xqrsmwi4s7ksjgbolmjildq + tests/test_http_server.py: bafybeia2cax2paqaygr6xgzbgmiqepsyjkdx4joi5qukpg6ewnz5yckk7m fingerprint_ignore_patterns: [] connections: [] protocols: diff --git a/packages/valory/connections/http_server/tests/test_http_server.py b/packages/valory/connections/http_server/tests/test_http_server.py index dee5a70ca4..cd08e0d081 100644 --- a/packages/valory/connections/http_server/tests/test_http_server.py +++ b/packages/valory/connections/http_server/tests/test_http_server.py @@ -41,7 +41,7 @@ from aea.test_tools.mocks import RegexComparator from aea.test_tools.network import get_host, get_unused_tcp_port -from packages.fetchai.connections.http_server.connection import ( +from packages.valory.connections.http_server.connection import ( APISpec, HTTPServerConnection, Response, diff --git a/tests/test_aea_builder.py b/tests/test_aea_builder.py index 8d20493ca4..43f0c4ae16 100644 --- a/tests/test_aea_builder.py +++ b/tests/test_aea_builder.py @@ -64,7 +64,7 @@ from aea.test_tools.mocks import RegexComparator from aea.test_tools.test_cases import AEATestCase, AEATestCaseEmpty, BaseAEATestCase -from packages.fetchai.connections.http_server.connection import ( +from packages.valory.connections.http_server.connection import ( PUBLIC_ID as HTTP_SERVER_CONNECTION_PUBLIC_ID, ) from packages.fetchai.connections.stub.connection import StubConnection diff --git a/tests/test_cli/test_remove/test_dependencies.py b/tests/test_cli/test_remove/test_dependencies.py index 8bb2024f84..b5e820eca1 100644 --- a/tests/test_cli/test_remove/test_dependencies.py +++ b/tests/test_cli/test_remove/test_dependencies.py @@ -38,7 +38,7 @@ ) from aea.configurations.loader import ConfigLoader -from packages.fetchai.connections.http_server.connection import ( +from packages.valory.connections.http_server.connection import ( PUBLIC_ID as HTTP_SERVER_PUBLIC_ID, ) from packages.valory.protocols.http.message import HttpMessage diff --git a/tests/test_helpers/test_base.py b/tests/test_helpers/test_base.py index 03e9b40888..8493525a7c 100644 --- a/tests/test_helpers/test_base.py +++ b/tests/test_helpers/test_base.py @@ -64,7 +64,7 @@ win_popen_kwargs, ) -from packages.fetchai.connections.http_server.connection import HTTPServerConnection +from packages.valory.connections.http_server.connection import HTTPServerConnection from tests.conftest import CUR_PATH, ROOT_DIR, skip_test_windows from tests.data.dummy_skill import PUBLIC_ID as DUMMY_SKILL_PUBLIC_ID @@ -97,7 +97,7 @@ def test_locate_class(self): os.chdir(os.path.join(CUR_PATH, "..")) expected_class = HTTPServerConnection actual_class = locate( - "packages.fetchai.connections.http_server.connection.HTTPServerConnection" + "packages.valory.connections.http_server.connection.HTTPServerConnection" ) os.chdir(cwd) # although they are the same class, they are different instances in memory diff --git a/tests/test_packages/test_connections/test_http_server/test_http_server_and_client.py b/tests/test_packages/test_connections/test_http_server/test_http_server_and_client.py index 8f7abe84aa..7a8bbd0e9b 100644 --- a/tests/test_packages/test_connections/test_http_server/test_http_server_and_client.py +++ b/tests/test_packages/test_connections/test_http_server/test_http_server_and_client.py @@ -33,7 +33,7 @@ from aea.mail.base import Envelope, Message from aea.protocols.dialogue.base import Dialogue as BaseDialogue -from packages.fetchai.connections.http_server.connection import ( +from packages.valory.connections.http_server.connection import ( HTTPServerConnection, headers_to_string, )