Beispiel #1
0
def test_pickup_scan_for_ammo_expansion(echoes_item_database, echoes_resource_database, item, ammo, result):
    # Setup
    expansion = echoes_item_database.ammo[item]
    pickup = pickup_creator.create_ammo_expansion(expansion, ammo, False, echoes_resource_database)

    # Run
    result = patcher_file._pickup_scan(pickup)

    # Assert
    assert result == result
def test_pickup_scan_for_progressive_suit(echoes_item_database, echoes_resource_database):
    # Setup
    progressive_suit = echoes_item_database.major_items["Progressive Suit"]
    pickup = pickup_creator.create_major_item(progressive_suit, MajorItemState(), False, echoes_resource_database,
                                              None, False)

    # Run
    result = patcher_file._pickup_scan(pickup)

    # Assert
    assert result == "Progressive Suit. Provides the following in order: Dark Suit, Light Suit"