[yast-commit] [yast/yast-packager] aa3cff: Added tests, DRY the code