Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
neph1 committed Jun 17, 2024
1 parent 1b7d16b commit ba35d2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_follow_context(self):

assert asker_name in result
assert asker_card in result
assert asker_reason in result
assert asker_reason not in result
assert character_name in result
assert character_card in result
assert history in result
Expand Down
1 change: 1 addition & 0 deletions tests/test_normal_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def test_wield(self):
assert self.test_player.wielding != item

def test_request_follow(self):
self.io_util.set_response('{"response":"no"')
test_npc = LivingNpc('test_npc', 'f')
location = Location('test_room')
location.init_inventory([self.test_player, test_npc])
Expand Down

0 comments on commit ba35d2a

Please sign in to comment.