Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NAV-3444] add penality bike parking #4320

Merged
merged 20 commits into from
Dec 3, 2024
Merged

[NAV-3444] add penality bike parking #4320

merged 20 commits into from
Dec 3, 2024

Conversation

princefr
Copy link
Contributor

No description provided.

Copy link
Member

@xlqian xlqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please also add a test with

        query = (
            sub_query
            + "&datetime=20120614T075000"
            + "&from=2.36893;48.88413"
            + "&to=2.28928;48.84710"
            + "&first_section_mode[]=bike"
            + "&first_section_mode[]=walking"
            + "&bike_speed=0.1"
            + "&park_mode[]=on_street"
            + "&_access_points=true"
        )

journeys = get_not_null(response, 'journeys')
assert len(journeys) > 0
for journey in journeys:
if len(journey['sections']) > 1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can identify the underlying journey by its tags...

Copy link

sonarcloud bot commented Dec 3, 2024

@azime azime merged commit c730ce2 into dev Dec 3, 2024
6 of 8 checks passed
@azime azime deleted the penality_parking_bike branch December 3, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants