def test_get_schedule_at_error(input): with pytest.raises(click.BadOptionUsage): assert cli.get_schedule_at(input)
def test_get_schedule_at(input, output): assert cli.get_schedule_at(input) == output