Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Morales committed Jun 22, 2023
1 parent bc85950 commit 3fc006d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Callable

from uagents import Agent, Context, Model
from uagents.resolver import AlmanacResolver
from uagents.resolver import GlobalResolver


class Message(Model):
Expand Down Expand Up @@ -31,7 +31,7 @@ def test_agent_init(self):
self.assertIsNotNone(self.agent._identity)
self.assertIsNotNone(self.agent._server)
self.assertTrue(self.agent._dispatcher.contains(self.agent.address))
self.assertTrue(isinstance(self.agent._resolver, AlmanacResolver))
self.assertTrue(isinstance(self.agent._resolver, GlobalResolver))

def test_agent_on_interval(self):
@self.agent.on_interval(period=10)
Expand Down

0 comments on commit 3fc006d

Please sign in to comment.