Skip to content

Commit

Permalink
Change repr test to look at describe instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwhite committed Feb 28, 2024
1 parent 28b72a5 commit 366578f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HARK/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def test_solve(self):
self.assertEqual(len(self.agent.solution), 4)
self.assertTrue(isinstance(self.agent.solution[0], MetricObject))

def test___repr__(self):
self.assertTrue("Parameters" in self.agent.__repr__())
def test_describe(self):
self.assertTrue("Parameters" in self.agent.describe())

def test___eq__(self):
agent2 = AgentType(cycles=1)
Expand Down

0 comments on commit 366578f

Please sign in to comment.