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(**kw)
test_move_1_shield(**kw)
test_move_2_armor(**kw)
test_move_3_weapon(**kw)
test_move_4_big_weapon(**kw)
test_move_5_item(**kw)
test_validate_slot_usage_0(**kw)
test_validate_slot_usage_1(**kw)
test_validate_slot_usage_2(**kw)
test_validate_slot_usage_3(**kw)
test_validate_slot_usage_4(**kw)
test_validate_slot_usage_5(**kw)