pytest-pacman - generating test data for libalpm with Python (arch-conf-2020)


Manage episode 276092992 series 2475293
By CCC media team. Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio is streamed directly from their servers. Hit the Subscribe button to track updates in Player FM, or paste the feed URL into other podcast apps.
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: about this event:

8140 episodes