[PR #9850/9df84654 backport][stable-10] Improve/fix unit tests (#9852)

Improve/fix unit tests (#9850)

* Improve/fix tests.

* Fix cargo test.

(cherry picked from commit 9df8465476)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2025-03-08 16:42:05 +01:00 committed by GitHub
commit e3793e09e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 75 additions and 49 deletions

View file

@ -20,4 +20,4 @@
environment: "{{ cargo_environment }}"
when: has_cargo | default(false)
- import_tasks: test_rustup_cargo.yml
when: rustup_cargo_bin | default(false)
when: (rustup_cargo_bin | default(false)) is truthy