fix tests

This commit is contained in:
2019-09-11 02:57:35 +03:00
parent 7de6a5fcc9
commit 000457a77e
2 changed files with 5 additions and 2 deletions

View File

@ -21,8 +21,8 @@ def test_loot_count_bis(player: Player, head_with_upgrade: Piece, weapon: Piece)
player.bis.set_item(head_with_upgrade)
player.loot.append(head_with_upgrade)
assert abs(player.loot_count_total_bis(head_with_upgrade)) == 1
assert abs(player.loot_count_total_bis(weapon)) == 1
assert abs(player.loot_count_total_bis(head_with_upgrade)) == 0
assert abs(player.loot_count_total_bis(weapon)) == 0
player.bis.set_item(weapon)
assert abs(player.loot_count_total_bis(head_with_upgrade)) == 1