summaryrefslogtreecommitdiff
path: root/tests/test_osdict.py
Commit message (Collapse)AuthorAgeFilesLines
* virtinst/osdict: remove osinfo legacy aliasesDaniel P. Berrangé2022-01-171-9/+0
| | | | | | | The code comment suggests removing the aliases after a year. It has now been three years, so it is time for them to go. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* tests: Drop most unittest usage from virtinst testsCole Robinson2020-09-191-99/+107
| | | | | | | Kill usage of the TestCase class, move more to pytest standard style Signed-off-by: Cole Robinson <crobinso@redhat.com>
* tests: Convert to use pytest style 'assert'Cole Robinson2020-09-191-17/+17
| | | | Signed-off-by: Cole Robinson <crobinso@redhat.com>
* tests: Add *DIR helper variablesCole Robinson2020-08-301-2/+1
| | | | Signed-off-by: Cole Robinson <crobinso@redhat.com>
* osdict: Drop post_install driver bitsCole Robinson2020-07-181-10/+0
| | | | | | | | osinfo library doesn't return data for these with the fedora 32 version, so it's hard to get coverage testing. Since we aren't even using this code yet anyways, let's remove it until it is needed Signed-off-by: Cole Robinson <crobinso@redhat.com>
* xmlutil: Centralize all 'programming error' exceptionsCole Robinson2020-07-171-1/+2
| | | | | | | Raise them directly instead of adding the hard to read conditional into the function Signed-off-by: Cole Robinson <crobinso@redhat.com>
* tests: osdict: Finish coverageCole Robinson2020-02-031-0/+3
| | | | | | | Requires libosinfo git which has a bug fix to help trigger post install code in osdict.py Signed-off-by: Cole Robinson <crobinso@redhat.com>
* virtinst: install: Fill out more test coverageCole Robinson2020-01-271-0/+4
| | | | Signed-off-by: Cole Robinson <crobinso@redhat.com>
* tests: Rename all test files to have test_ prefixCole Robinson2020-01-271-0/+116
This will help for a possible future conversion to pytest Signed-off-by: Cole Robinson <crobinso@redhat.com>