Skip to content

Commit

Permalink
refactor(): Small corrections on unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CinquilCinquil committed Oct 8, 2024
1 parent cc53ee1 commit 724176e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/units/models/test_model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def __init__(self):
learn_return = fake_model.learn("current_state",
"action", "reward", "next_state")
predict_return = fake_model.predict("state")
learning_dict = fake_model.learning_dict
learning_data = fake_model.learning_data

assert isinstance(ModelBase, ABCMeta)
assert learn_return is None
assert predict_return is None
assert learning_dict is None
self.assertEqual(learning_data, {})
2 changes: 1 addition & 1 deletion tests/units/sc2/actions/test_sc2_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from pysc2.lib import actions

from urnai.actions.sc2_action import SC2Action
from urnai.sc2.actions.sc2_action import SC2Action

_BUILD_REFINERY = actions.RAW_FUNCTIONS.Build_Refinery_pt
_NO_OP = actions.FUNCTIONS.no_op
Expand Down

0 comments on commit 724176e

Please sign in to comment.