pytest-pacman issueshttps://gitlab.archlinux.org/archlinux/pytest-pacman/-/issues2021-03-11T09:41:37Zhttps://gitlab.archlinux.org/archlinux/pytest-pacman/-/issues/4Add fixtures for broken database files2021-03-11T09:41:37ZDavid RungeAdd fixtures for broken database filesTo be able to integration-test code bases, that work with e.g. sync dbs (such as .db or .files files), it would be helpful to be able to create sync dbs that are "broken", so that raising on encountering broken database files can be test...To be able to integration-test code bases, that work with e.g. sync dbs (such as .db or .files files), it would be helpful to be able to create sync dbs that are "broken", so that raising on encountering broken database files can be tested.
A few examples of invalid databases can be:
* mismatch of `<pkgbase>-<pkgver>-<pkgrel>/` and the `%BASE%` defined in `<pkgbase>-<pkgver>-<pkgrel>/desc`
* incomplete `<pkgbase>-<pkgver>-<pkgrel>/desc` files
* missing `<pkgbase>-<pkgver>-<pkgrel>/files` in a .files database
* missing `<pkgbase>-<pkgver>-<pkgrel>/desc` in a .files or .db databasehttps://gitlab.archlinux.org/archlinux/pytest-pacman/-/issues/2Add documentation for fixtures2021-01-22T16:22:06ZJelle van der WaaAdd documentation for fixtureshttps://gitlab.archlinux.org/archlinux/pytest-pacman/-/issues/1Add the ability to provide a Package fixture2024-02-07T12:51:59ZJelle van der WaaAdd the ability to provide a Package fixtureAs pyalpm/archweb sometimes requires a pkg.tar.$ext to for some tests, it would be nice if pytest-pacman would provide this fixture.As pyalpm/archweb sometimes requires a pkg.tar.$ext to for some tests, it would be nice if pytest-pacman would provide this fixture.