def METHOD_NAME():
    """Total location events raises an error for a bad direction."""
    with pytest.raises(ValueError):
        TotalLocationEvents(
            "2016-01-01",
            "2016-01-04",
            spatial_unit=make_spatial_unit("versioned-site"),
            interval="min",
            direction="BAD_DIRECTION",
        )