summaryrefslogtreecommitdiffstats
path: root/src/software/test/test_software_package.py
Commit message (Collapse)AuthorAgeFilesLines
* initial phase of rewrite for SMASH profileMichal Minar2013-02-131-153/+0
| | | | | currently only a subset of Software Inventory profile is supported * listing available packages
* rewritten for safe execution of transactionsMichal Minar2013-02-041-4/+7
| | | | | | | | | | | | | | | | | | | | | | | Made separate process openlmi.software.yumdb.process.YumWorker for calls to yum API. Its client openlmi.software.yumdb.YumDB communicates with it via synchronnous queues - uplink and downlink. Resolves: #63 in openlmi trac -- yum API not useable, while changing thread_id) Resolves: #33 in openlmi trac -- Install/remove package Common functionality of providers moved under openlmi.software.core subpackage to make them easily accessible from other providers without cyclic dependencies. Improved logging with cmpi_logging module. openlmi.software.cimom_entry module now is the only module loadable by cmpi-bindings. It sets up providers and maps them by their name. New subpackages: openlmi.software.core openlmi.software.yumdb
* fixed test selection, when launching tests with runMichal Minar2012-12-131-15/+28
| | | | | | | | | | | | | | | | particular tests can be selected like this: * # runs all tests defined by this test case ./run.py -- TestSoftwarePackage * # runs single test defined by TestSoftwarePackage TestCase ./run.py -- TestSoftwarePackage.test_get_instance added comments for each assert made results of tests a lot more readable different file mode for symlinks passes like in rpm -V increased number of packages for testing to 5
* rewritten tests for software managementMichal Minar2012-12-071-46/+75
| | | | | | | | | All tests are invocable from single script called "run_tests.py" and as standalone-modules as well. Its behaviour is modifiable through environment variables according to TestGuidelines. run_tests.py can be passed arguments instead. Package database is not fixed anymore. Instead it's generated automatically for system, where tests are triggered.
* Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-121-0/+19
|
* renamed yum package providers to softwareMichal Minar2012-10-101-0/+89
renamed LMI_Yum* to LMI_Software* removed attributes GroupString and LicenseString from LMI_SoftwarePackage modified attributes Group, Architecture and License of LMI_SoftwarePackage to return string instead of Uints - because values and valuemaps would need frequent updates