Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
muchvo committed Mar 19, 2023
1 parent 90b114d commit cfbc781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omnisafe/utils/command_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ def evaluate(
)
if render:
evaluator.render(num_episodes=num_episode)
evaluator.evaluate(num_episodes=num_episode)
else:
evaluator.evaluate(num_episodes=num_episode)


@app.command()
Expand Down
1 change: 1 addition & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test_eval():
'1',
'--height',
'1',
'--no-render',
],
)
assert result.exit_code == 0

0 comments on commit cfbc781

Please sign in to comment.