conference logo
Arch Conf 2020

Playlist "Arch Conf 2020"

pytest-pacman - generating test data for libalpm with Python

Jelle van der waa

To test pyalpm (The official Python libalpm bindings) a local pacman database and sync database is required. Instead of relying on pacman and fetching data over the internet, some Python was written to generated the test data on demand. This talk introduces the local database and sync db structure of pacman, how to write a simple pytest plugin and how consumers of pyalpm could use this plugin.

The project is located here: