From 83418cadb326ebb0e7ac227b182d01a5a11e9f00 Mon Sep 17 00:00:00 2001 From: Alejandro-Morales Date: Wed, 4 Oct 2023 06:41:30 -0600 Subject: [PATCH] fix: tests --- python/tests/test_agent_registration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/tests/test_agent_registration.py b/python/tests/test_agent_registration.py index 90675a51..23df6fcc 100644 --- a/python/tests/test_agent_registration.py +++ b/python/tests/test_agent_registration.py @@ -35,7 +35,7 @@ def test_name_service_failed_ownership(self): domain = "agent" - name_service_contract = get_name_service_contract() + name_service_contract = get_name_service_contract(test=True) is_owner = name_service_contract.is_owner( agent.name, domain, str(agent.wallet.address()) @@ -58,7 +58,7 @@ async def test_name_service_registration(self): "Almanac registration failed", ) - name_service_contract = get_name_service_contract() + name_service_contract = get_name_service_contract(test=True) is_name_available = name_service_contract.is_name_available(agent.name, domain) self.assertEqual(is_name_available, True, "Agent name should be available") @@ -80,7 +80,7 @@ async def test_name_service_registration(self): ) self.assertEqual(is_owner, True, "Domain ownership failed") - query_address = get_agent_address(agent.name + "." + domain) + query_address = get_agent_address(agent.name + "." + domain, True) self.assertEqual( query_address == agent.address, True, "Service contract registration failed"