From 3d60135e0388e1de862b7ab45058ff737c18c97d Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Tue, 10 Oct 2023 19:22:53 +0530 Subject: [PATCH 1/2] fix: image runtime test --- tests/test_autonomy/test_images/test_runtime.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_autonomy/test_images/test_runtime.py b/tests/test_autonomy/test_images/test_runtime.py index d6062997d8..c42a027cb3 100644 --- a/tests/test_autonomy/test_images/test_runtime.py +++ b/tests/test_autonomy/test_images/test_runtime.py @@ -46,7 +46,7 @@ TENDERMINT_IMAGE = f"{TENDERMINT_IMAGE_NAME}:{TENDERMINT_IMAGE_VERSION}" -@skip_docker_tests +# @skip_docker_tests class TestOpenAutonomyBaseImage(BaseImageBuildTest): """Test image build and run.""" @@ -64,7 +64,7 @@ def setup_class(cls) -> None: cls.agent = str( AGENT.with_hash( - get_package_hash_from_latest_tag(package=AGENT.to_uri_path) + package_hash="bafybeibe6kgnwkuhcydk5gr3wvsybdlc7gfuzt2ia24czudsvxlbmdlrwe" ).public_id ) @@ -99,7 +99,7 @@ def test_image(self) -> None: ) assert success, output - assert "Successfully built the agent" in output + assert "Successfully built the host dependencies" in output assert f"Successfully tagged {self.tag}" in output # check runtime From c8d96fdb2140da60db94e1ce9b5600141dd8f122 Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Tue, 10 Oct 2023 19:41:06 +0530 Subject: [PATCH 2/2] fix: linters --- tests/test_autonomy/test_images/test_runtime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_autonomy/test_images/test_runtime.py b/tests/test_autonomy/test_images/test_runtime.py index c42a027cb3..9fdd5bd985 100644 --- a/tests/test_autonomy/test_images/test_runtime.py +++ b/tests/test_autonomy/test_images/test_runtime.py @@ -38,7 +38,7 @@ ) from autonomy.deploy.constants import DOCKERFILES -from tests.conftest import ROOT_DIR, get_package_hash_from_latest_tag, skip_docker_tests +from tests.conftest import ROOT_DIR, skip_docker_tests from tests.test_autonomy.test_images.base import BaseImageBuildTest @@ -46,7 +46,7 @@ TENDERMINT_IMAGE = f"{TENDERMINT_IMAGE_NAME}:{TENDERMINT_IMAGE_VERSION}" -# @skip_docker_tests +@skip_docker_tests class TestOpenAutonomyBaseImage(BaseImageBuildTest): """Test image build and run."""