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

chore: mise à jour des dependances #929

Merged
merged 3 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lacommunaute/search/__snapshots__/tests.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
<h3 class="h4 mb-0">Aucun résultat ? Posez votre question dans l'espace d'échanges !</h3>
</div>
<div class="col-12 col-md-auto mt-3 mt-md-0 d-flex align-items-center justify-content-center">
<a class="btn btn-outline-primary btn-ico btn-block matomo-event" data-matomo-action="contribute" data-matomo-category="engagement" data-matomo-option="new_topic_after_search" href="/forum/forrest-gump-42/topic/create/" rel="nofollow">
<a class="btn btn-outline-primary btn-ico btn-block matomo-event" data-matomo-action="contribute" data-matomo-category="engagement" data-matomo-option="new_topic_after_search" href="/forum/forrest-gump-PK/topic/create/" rel="nofollow">
<i class="ri-chat-new-line ri-lg"></i>
<span>Poser une question</span>
</a>
Expand Down Expand Up @@ -274,7 +274,7 @@
<h3 class="h4 mb-0">Aucun résultat ? Posez votre question dans l'espace d'échanges !</h3>
</div>
<div class="col-12 col-md-auto mt-3 mt-md-0 d-flex align-items-center justify-content-center">
<a class="btn btn-outline-primary btn-ico btn-block matomo-event" data-matomo-action="contribute" data-matomo-category="engagement" data-matomo-option="new_topic_after_search" href="/forum/forrest-gump-42/topic/create/" rel="nofollow">
<a class="btn btn-outline-primary btn-ico btn-block matomo-event" data-matomo-action="contribute" data-matomo-category="engagement" data-matomo-option="new_topic_after_search" href="/forum/forrest-gump-PK/topic/create/" rel="nofollow">
<i class="ri-chat-new-line ri-lg"></i>
<span>Poser une question</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/search/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_extra_context(client, db, user, snapshot_name, search_url, snapshot):
datas = {"m": "TOPIC", "q": " ".join(["Bubba", "Gump", "Shrimp", "Co."])}
response = client.get(search_url, datas)
content = parse_response_to_soup(
response, selector="main", replace_in_href=[(forum.slug, "forrest-gump"), (str(forum.pk), "42")]
response, selector="main", replace_in_href=[(f"{forum.slug}-{forum.pk}", "forrest-gump-PK")]
)
assert str(content) == snapshot(name=snapshot_name)

Expand Down
2 changes: 1 addition & 1 deletion scripts/update_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
echo "Hi, I'm going to update the dependencies of the project"
pre-commit autoupdate
wait
uv lock
uv lock --upgrade
wait
git add uv.lock && git add .pre-commit-config.yaml
git commit -m "update dependencies"
Loading