summaryrefslogtreecommitdiffstats
path: root/tests/storage_test
Commit message (Collapse)AuthorAgeFilesLines
* Remove the storage module and replace it with blivet.David Lehman2013-01-2815-2616/+0
|
* Move tsort, platform, and baseudev into storage.David Lehman2013-01-283-1/+202
| | | | Merge baseudev into storage.udev.
* edd: fix traceback on Xen.Ales Kozumplik2011-08-111-0/+22
| | | | | | | Apparently the /sys/firmware/edd/int13_dev*/host_bus file is missing or non-standard on Xen. Resolves: rhbz#728280
* Fix import errors in the unit tests.Chris Lumens2011-08-011-2/+2
|
* edd: fix syntax in situation when two edd directories point to the same device.Ales Kozumplik2011-07-281-0/+29
| | | | | | Adds a unit test for this case. Resolves: rhbz#725777
* ut: cleanup the taking-over-io mechanism.Ales Kozumplik2011-07-271-17/+15
| | | | | | 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 with cciss devices.Ales Kozumplik2011-07-261-0/+17
| | | | Resolves: rhbz#723194
* edd: do not traceback when can not find the respective pci device.Ales Kozumplik2011-07-261-2/+15
| | | | Resolves: rhbz#723344
* edd: refactor and enhance the edd module.Ales Kozumplik2011-07-041-0/+133
| | | | | | | | | | | This strengthens the 'bios id' -> 'device name' mapping algorithm by looking at the pci device and interface properties specified in the edd data. Includes a unit test. Resolves: rhbz#621175 Related: rhbz#694800
* Implement an option that lets anaconda name mpath devices by the wwid.Ales Kozumplik2011-06-171-21/+73
| | | | | | | | | | | Adds a new option dialog to the filtering screen, with a checkbox. If user unchecks this, /etc/multipath.conf is generated with user_friendly_names set to "no". This will give all mpath devices names in the /dev/mapper/<wwid> format, partitions are /dev/mapper<wwid>p1. The setting defaults to using the friendly names. Resolves: rhbz#709653
* Tag tests as slow or acceptance tests and split full testing from devel unit ↵Martin Sivak2011-02-145-0/+17
| | | | testing
* Add unit tests for storage.partitioning.getNextPartitionType.David Lehman2010-12-071-0/+130
| | | | | | The file partitioning_tests.py is intended to eventually contain a variety of other partitioning-related unit tests for things like allocation, alignment, and growing of partitions.
* Import as "pyanaconda.anaconda_log", not "anaconda_log".Chris Lumens2010-11-111-2/+2
| | | | | | | Doing the latter means both modules end up in the module list, which means you've got two different instances of the module and therefore two different instances of the module-level global logger. One will be initialized and one will not.
* Remove the parts required to make "make tests" work.Chris Lumens2010-11-112-14/+0
| | | | | | Since we're apparently using "make unittest" instead, make sure the other target simply doesn't work so there's no confusion. Also, add a Makefile.am to tests/pylint so that directory is included in the distributed sources.
* nosetests will only run tests if they are not executable and end in _test.py.Chris Lumens2010-11-112-0/+0
|
* Move StorageTestCase into its own file for use by other tests.David Lehman2010-10-222-266/+288
|
* Add device action test suite.David Lehman2010-10-222-1/+1192
|
* Add test cases for the new Size class.David Cantrell2010-09-132-0/+92
|
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-281-1/+2
| | | | | | | This is required so the source layout and package layout have a similar enough structure to make our test setup work. Without this move, you can't run "make check" or checkbot without getting error messages about no such module pyanaconda.booty.
* Do not assume /dev/loop0 and /dev/loop1 are available.Chris Lumens2010-06-216-73/+99
| | | | | | | | | I do a lot of live image making, which results in those loopback devices sometimes not being available. Luckily, losetup will tell us the name of the next free device. Also fix up some imports so they're in the right place, while I'm digging around in these files.
* Fix test suite Makefile.am files.Chris Lumens2010-06-211-6/+6
| | | | | | | | | | (1) Many tests have moved from foo.py to foo_test.py, so that needs changing in the TESTS variable. (2) Add a $PATH that includes /sbin and /usr/sbin so losetup and storage commands work. (3) Change PYTHONPATH to include new pyanaconda directory.
* Structure the repo layout so it matches final structure better and make isys ↵Martin Sivak2010-05-318-0/+686
a real Python package. Also updates the build and autotools stuff to work with the new structure