Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Copy /etc/multipath/wwids to the sysimage. | Ales Kozumplik | 2011-08-16 | 2 | -1/+2 |
| | | | | | | | | | | | | /etc/multipath/wwids is a list of activated multipaths generated by the multipath tools. If it is missing in the sysimage it will be missing in the dracut initramfs and that, in rare cases, can cause race between mpath and lvm during boot. This is a merge froh rhel6-branch but includes a unit tests of the new iutil.copy_to_sysimage(). Resolves: rhbz#701371 | ||||
* | We also need to catch ValueError on mock.disk.TestFile.__del__. | Chris Lumens | 2011-08-01 | 1 | -1/+1 |
| | |||||
* | ut: cleanup the taking-over-io mechanism. | Ales Kozumplik | 2011-07-27 | 2 | -32/+26 |
| | | | | | | 1) Move the functionality from mock.DiskIO to mock.TestCase itself. 2) Use already existing mechanism (tearDownModules()) for cleaning up after we override functions in widely used modules. | ||||
* | edd: do not traceback when can not find the respective pci device. | Ales Kozumplik | 2011-07-26 | 1 | -0/+9 |
| | | | | Resolves: rhbz#723344 | ||||
* | unit tests: provide 'glob.glob' and 'os.listdir' in the DiskIO class. | Ales Kozumplik | 2011-07-04 | 1 | -9/+39 |
| | | | | | | | | | Not a production code change. Just like the existing DiskIO, it is sufficient for the basic cases but breaks for more advanced ones. Related: rhbz#621175 | ||||
* | Remove trailing whitespace in file tests/mock/mock.py. | Ales Kozumplik | 2011-05-23 | 1 | -31/+31 |
| | |||||
* | Fix open method in mock/disk.py. | Tomas Mlcoch | 2011-02-14 | 1 | -6/+11 |
| | | | | Now is possible open empty file with mode 'a' | ||||
* | Improve of mock/disk.py. | Tomas Mlcoch | 2011-02-14 | 1 | -1/+16 |
| | | | | | | | | Add __enter__() and __exit__() methods into TestFile class. Rename "IO" to "TestFile". Add destructor to TestFile and fix open mode "w". Add destructor to TestFile and fix open for write. Catch useless exception. | ||||
* | Tag tests as slow or acceptance tests and split full testing from devel unit ↵ | Martin Sivak | 2011-02-14 | 1 | -0/+10 |
| | | | | testing | ||||
* | tearDown -> tearDownModules. | Chris Lumens | 2010-06-21 | 1 | -1/+1 |
| | |||||
* | Improve module cleanup in our TestCase class and fix issues in FS mock class. | Martin Sivak | 2010-05-31 | 1 | -2/+6 |
| | |||||
* | Structure the repo layout so it matches final structure better and make isys ↵ | Martin Sivak | 2010-05-31 | 2 | -6/+25 |
| | | | | | | a real Python package. Also updates the build and autotools stuff to work with the new structure | ||||
* | Improve module cleanup in our TestCase class and fix issues in FS mock class. | Martin Sivak | 2010-05-20 | 2 | -5/+27 |
| | |||||
* | Add Mock classes | Martin Sivak | 2010-05-14 | 3 | -0/+405 |