evennia.contrib.tutorials.evadventure.tests.test_equipment

Test the EvAdventure equipment handler.

class evennia.contrib.tutorials.evadventure.tests.test_equipment.TestEquipment(methodName='runTest')[source]

Bases: evennia.contrib.tutorials.evadventure.tests.mixins.EvAdventureMixin, evennia.utils.test_resources.BaseEvenniaTest

test_count_slots()[source]
test_max_slots()[source]
test_add__remove()[source]
test_move__get_current_slot()[source]
test_get_wearable_or_wieldable_objects_from_backpack()[source]
test_equipmenthandler_max_slots()[source]
test_validate_slot_usage = None
test_move = None
test_add()[source]
test_two_handed_exclusive()[source]

Two-handed weapons can’t be used together with weapon+shield

test_remove__with_obj()[source]
test_remove__with_slot()[source]
test_properties()[source]
test_move_0_helmet()
test_move_1_shield()
test_move_2_armor()
test_move_3_weapon()
test_move_4_big_weapon()
test_move_5_item()
test_validate_slot_usage_0()
test_validate_slot_usage_1()
test_validate_slot_usage_2()
test_validate_slot_usage_3()
test_validate_slot_usage_4()
test_validate_slot_usage_5()