def test_getNameNumberFromNameExc() -> None:
    """Test `Tzolkin.getNameNumberFromName`, raises excpention."""
    with pytest.raises(TzolkinException) as excp:
        Tzolkin.getNameNumberFromName(name_str="BLA")
    assert excp  # nosec
def test_getNameNumberFromName() -> None:
    """Test `Tzolkin.getNameNumberFromName`."""
    for number in day_names:
        assert (  # nosec
            Tzolkin.getNameNumberFromName(
                name_str=day_names[number]) == number)