mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-04-25 17:57:17 +00:00
fix tests
This commit is contained in:
parent
7de6a5fcc9
commit
000457a77e
@ -65,6 +65,9 @@ def config() -> Configuration:
|
|||||||
'request_timeout': 1,
|
'request_timeout': 1,
|
||||||
'xivapi_url': 'https://xivapi.com'
|
'xivapi_url': 'https://xivapi.com'
|
||||||
},
|
},
|
||||||
|
'auth': {
|
||||||
|
'enabled': 'no'
|
||||||
|
},
|
||||||
'settings': {
|
'settings': {
|
||||||
'include': '/dev/null'
|
'include': '/dev/null'
|
||||||
}
|
}
|
||||||
|
@ -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.bis.set_item(head_with_upgrade)
|
||||||
player.loot.append(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(head_with_upgrade)) == 0
|
||||||
assert abs(player.loot_count_total_bis(weapon)) == 1
|
assert abs(player.loot_count_total_bis(weapon)) == 0
|
||||||
|
|
||||||
player.bis.set_item(weapon)
|
player.bis.set_item(weapon)
|
||||||
assert abs(player.loot_count_total_bis(head_with_upgrade)) == 1
|
assert abs(player.loot_count_total_bis(head_with_upgrade)) == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user