def test_if_spell_card_is_displayed_properly_without_cost():
    card = spell_card_value_minus_2_enemy_all

    name = card['meta']['name']
    description = card['meta']['description']

    assert f'[SPELL]' in display_card(card)
    assert f'{name}' in display_card(card)
    assert f'[{description}]' in display_card(card)
def test_if_unit_card_is_displayed_properly_without_cost():
    card = unit_card_value_2

    name = card['meta']['name']
    value = card['stats']['current_value']

    assert f'[UNIT]' in display_card(card)
    assert f'{name}' in display_card(card)
    assert f'[Value: {value}]' in display_card(card)
def core_set():
    click.echo('These are the cards available on the Core Set:')

    creatures_core_set_path = os.path.join(CURRENT_PATH, '..',
                                           CARDS_FOLDER_NAME,
                                           CORE_SET_FOLDER_NAME, 'creatures')
    kingdom_core_set_path = os.path.join(CURRENT_PATH, '..', CARDS_FOLDER_NAME,
                                         CORE_SET_FOLDER_NAME, 'kingdom')
    outlaws_core_set_path = os.path.join(CURRENT_PATH, '..', CARDS_FOLDER_NAME,
                                         CORE_SET_FOLDER_NAME, 'outlaws')
    click.echo('Creatures:')
    imported_cards = select_all_files(creatures_core_set_path)
    for card in imported_cards:
        click.echo(display_card(card))

    click.echo('Kingdom:')
    imported_cards = select_all_files(kingdom_core_set_path)
    for card in imported_cards:
        click.echo(display_card(card))

    click.echo('Outlaws:')
    imported_cards = select_all_files(outlaws_core_set_path)
    for card in imported_cards:
        click.echo(display_card(card))