Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Morales committed Jul 14, 2023
1 parent 25b376b commit e5c42f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_agent_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ def test_registration(self):
"Almanac registration failed",
)

is_name_available = agent._service_contract.is_name_available(agent.name, domain)
is_name_available = agent._service_contract.is_name_available(
agent.name, domain
)
self.assertEqual(is_name_available, True, "Agent name should be available")

is_owner = agent._service_contract.is_owner(
Expand All @@ -104,7 +106,9 @@ def test_registration(self):
registration_msg, agent.wallet
).wait_to_complete()

is_name_available = agent._service_contract.is_name_available(agent.name, domain)
is_name_available = agent._service_contract.is_name_available(
agent.name, domain
)
self.assertEqual(is_name_available, False, "Agent name shouldn't be available")

is_owner = agent._service_contract.is_owner(
Expand Down

0 comments on commit e5c42f9

Please sign in to comment.