summaryrefslogtreecommitdiffstats
path: root/src/python/lmi/test/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Use unittest2 on Python 2.6Jan Safranek2014-04-181-1/+1
|
* Updated copyright yearsPeter Schiffer2014-01-161-1/+1
| | | | Updated copyright years to include new year 2014.
* software: minor test enhancementsMichal Minar2013-12-021-0/+2
| | | | | | | | | | | Added one test to SoftwareIdentityFileCheck.Invoke() method testing correct error code. Renamed testing package pkg1 to pkg2 in misc repository to match its comment. Rendering function CIMInstanceNames should behave nicely for objects of another type and return their text representation.
* tests: added Base test cases for cim and lmi shell testsMichal Minar2013-11-041-350/+34
| | | | | | | | | | | | | | Base test case class is renamed to BaseLmiTest. But it's not intended for direct use in provider tests. For this purpose two more classes are added. Namely LmiTestCase and CIMTestCase. Tests wanting to take advantage of lmi shell's power should subclass LmiTestCase. Those based on pure pywbem code shall subclass the other one. Added lots of convenience methods. Allowed to use lmi.shell abstractions if available. Useful utilities are moved to standalone util module.
* tests: added base class for our test casesMichal Minar2013-10-241-0/+447
import it in your tests with: from lmi.test.base import LmiTestCase For imports to work, run: export PYTHONPATH=${PROVIDERS_GIT_ROOT}/src/python before nosetests or before running them individually.