use short device name for tests
update order and content of default test block devices
This commit is contained in:
parent
4c634d3f9a
commit
0eccca7d22
2 changed files with 3 additions and 2 deletions
|
@ -78,7 +78,8 @@ class CommonTestClass(unittest.TestCase):
|
|||
self.blockdevice = testtools.find_test_device()
|
||||
self.device = self.blockdevice + "1"
|
||||
self.blockdevice_html = self.blockdevice.replace("/", "%2F")
|
||||
self.device_html = self.device.replace("/", "%2F")
|
||||
## the assumption is not always valid - but usually it is ok
|
||||
self.device_html = os.path.basename(self.device)
|
||||
|
||||
## remove configuration files
|
||||
## first: retrieve the settings directory
|
||||
|
|
|
@ -26,7 +26,7 @@ just inherit one of its classes and add some test functions
|
|||
|
||||
__revision__ = "$Id$"
|
||||
|
||||
TEST_DEVICE_LIST = ["hda", "hdb", "ubdb", "loop", "ubda", "udbc", "ubdd", "sd"]
|
||||
TEST_DEVICE_LIST = ["ubdb", "loop", "ubda", "udbc", "ubdd", "sd"]
|
||||
|
||||
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue