summaryrefslogtreecommitdiffstats
path: root/src/logicalfile/test/test_basic.py
Commit message (Collapse)AuthorAgeFilesLines
* logicalfile: test providers' configurationJan Synacek2014-05-121-22/+99
|
* logicalfile: fix unittest importJan Synacek2014-05-071-1/+1
|
* logicalfile: enhance testsJan Synacek2014-04-281-9/+24
| | | | | After creating a directory or symlink, check if the object created really is the directory or symlink.
* logicalfile: add support for symlink creationJan Synacek2014-04-241-0/+21
|
* Updated copyright yearsPeter Schiffer2014-01-161-1/+1
| | | | Updated copyright years to include new year 2014.
* logicalfile: don't automatically fill FSName and FSCreationClassNameJan Synacek2014-01-101-0/+2
| | | | | Set there properties on output, meaning when GetInstance() is invoked, only when they are empty. Otherwise leave them unchanged.
* logicalfile: correctly fill FSCreationClassName and FSNameJan Synacek2013-12-171-4/+27
| | | | | | | | | | | Files residing on nodevice or remote filesystems now correctly set these properties. FSCreationClassName is set to "LMI_TransientFileSystem" and FSName is set to "PATH=<path to file>". This behavior is consistent with how storage providers set those properties. To check for filesystem, the provider uses udev and checks for ID_FS_UUID_ENC and DEVNAME fields. If these are not found, filesystem is then considered nodevice or remote. Additional test for files on transient filesystems has been added.
* tests: use shared base class in provider testsMichal Minar2013-10-241-17/+17
| | | | Done for: Account, Journald and LogicalFile
* Use PG_ComputerSystem by default.Jan Safranek2013-10-091-2/+2
| | | | | | | And get rid of sblim-cmpi-base dependency. It would be nice if our tests have an option to select Linux_ComputerSystem or PG_ComputerSystem in the future...
* logicalfile: more intrinsic methods for LMI_RootDirectoryJan Synacek2013-10-091-0/+27
| | | | Add EnumerateInstances() and GetInstance().
* logicalfile: fill LMI_UnixDeviceFile.DeviceFileTypeJan Synacek2013-10-031-2/+5
|
* logicalfile: correctly ignore creation class nameJan Synacek2013-10-021-3/+6
|
* logicalfile: ignore some key propertiesJan Synacek2013-09-161-67/+11
| | | | | | | | | | | | | | CIM_LogicalFile and CIM_UnixFile have some key properties that are not needed when calling GetInstance(). On Linux systems, all is needed to get information about a file is its path. Type of the filesystem that the file resides on and the file type itself are not needed. In fact, it's not desirable to require those when querying remote systems. Ignore FSCreationClassName, FSName, LFCreationClassName and CreationClassName. This commit reverts most of the functionality of commit 5c3e1a6203e495bec37acd8c3731ca41377beb94.
* logicalfile: improve testsJan Synacek2013-08-261-21/+120
|
* LogicalFile: add tests for property checksJan Synacek2013-07-171-0/+87
|
* LogicalFile: add property checksJan Synacek2013-07-171-5/+5
|
* LogicalFile: add tests for selinuxJan Synacek2013-07-151-3/+32
|
* LogicalFile: Add testsJan Synacek2013-07-081-0/+295