Skip to content

Commit

Permalink
debian: add more scenarios to dep8 tests
Browse files Browse the repository at this point in the history
We are now calling two API endpoints on the dep8 tests.
Those endpoints don't trigger any network call and their
main use is to verify if any python3-apt change would change
the way we interact with that library, as those API endpoints
heavily rely on apt functionality.
  • Loading branch information
lucasmoura committed Sep 5, 2024
1 parent 75129ed commit 6ae2cc5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions debian/tests/usage
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@

set -ex

ua --help | grep --silent services
ua version
pro --help | grep --silent services
pro version

# These calls are used to ensure that the
# way we interact with APT is still working
# if python3-apt receives an upgrade
pro api u.pro.packages.summary.v1
pro api u.pro.packages.updates.v1

0 comments on commit 6ae2cc5

Please sign in to comment.