summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/test/aos_version_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Make aos_version module handle multiple versionsRodolfo Carvalho2017-07-171-16/+73
| | | | | | | | Some packages are supported at more than one major.minor version at the same time. Support is added keeping backward compatibility: the 'version' key can be either a string (single version) or a list of versions.
* Split positive and negative unit testsRodolfo Carvalho2017-07-171-50/+40
| | | | | | | Split positive and negative tests into their own functions. This means less lines of code, clearer purpose, easier to understand what each test does or doesn't and to add new test cases.
* update aos_version module to support generic pkgs and versionsjuanvallejo2017-05-241-29/+58
|
* preflight checks: refactor and fix aos_versionLuke Meyer2017-04-081-0/+120
Bring in openshift_repos to provide Origin repo before checks on Origin. For OCP we want the check to fail if both version 3.3 and version 3.4 are available - they shouldn't have both channels enabled. For Origin everything is in one repo so it's not surprising to find 1.4 and 1.5 versions available. Added unit tests as well.