ppa-dev-tools:fix-lp-test

Last commit made on 2022-09-10
Get this branch:
git clone -b fix-lp-test https://git.launchpad.net/ppa-dev-tools
Only Bryce Harrington can upload to this branch. If you are Bryce Harrington please log in for upload directions.

Branch merges

Branch information

Name:
fix-lp-test
Repository:
lp:ppa-dev-tools

Recent commits

572c3cf... by Bryce Harrington

lp: Fix return value for ubuntu_active_series()

Instead of name strings, this is supposed to return distro_series objects

3d626b7... by Bryce Harrington

test_lp: Implement tests for Launchpad object

801f354... by Bryce Harrington

Add Results class and test

The result, subtest, and trigger modules can also be invoked as scripts:

    $ python3 -m ppa.result

These are intended to serve as simple smoketests.

f6d0a46... by Bryce Harrington

Add Subtest class and test

5ce23e2... by Bryce Harrington

Add Trigger class and test case

c44bfd4... by Bryce Harrington

tests: Fix flake/lint issues

84609b3... by Bryce Harrington

Add the 'tests' command

This pulls in show_running() and show_waiting() from lp-test-ppa with
some modifications to work with the current Job class, and adds a new
command called 'tests' to report these.

Note that we're not yet showing the completed results, so the command as
implemented currently is only useful when a PPA's tests are in process.

7b06ee4... by Bryce Harrington

Add a constants module

Move some constants like URLs, arch lists, etc. into a shared module.

(Thx goes to Athos' lppa for the idea.)

1c3c6fb... by Bryce Harrington

Add io module with open_url()

8fcdc4f... by Bryce Harrington

Job: Add smoketest for get_waiting() and get_running()

Extract the job info for a given ppa from static snapshots of the
autopkgtest running.json and queues.json.