this uses a couple of test repos with fake packages to test the
basic dnf mechanisms are working, then messes around with the
python3-kickstart package a bit to try and test the default repo
configuration is working, keys are in place and so on. We use
python3-kickstart because we should be able to rely on the copy
of that package in the 'stable' repo being installable (or else
the compose would have failed), but it shouldn't be vital to
the operation of the system.
Details
- Reviewers
garretraziel jskladan - Commits
- rOPENQATESTS44ec3d84c382: add a base_update_cli test
Run the test, see if it works.
Diff Detail
- Repository
- rOPENQATESTS os-autoinst-distri-fedora
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
split some bits into a new helper function module
we're gonna re-use these in graphical update testing, so let's
make a new 'packagetest' module which exports them and use it.
longer timeout for the update from real repos
https://openqa.stg.fedoraproject.org/tests/43922#step/base_update_cli/32
damnit, dnf, why must you.
Aside from inline comment, this looks good to me.
I don't think that having openqa-test-x package is necessary, I think that we can only use python3-kickstart update test.
lib/main_common.pm | ||
---|---|---|
9 ↗ | (On Diff #2575) | I guess that this shouldn't be here. |
OK, sounds good to me - as I said on IRC I was kinda uncertain whether it's worth keeping them or not, so I'm happy to go with your opinion and take them out. I'll fix the other thing too, thanks.
lib/main_common.pm | ||
---|---|---|
9 ↗ | (On Diff #2579) | good catch, indeed. I moved it around a bit. :) |