diff --git a/tests/disk/common.py b/tests/disk/common.py index 0234fb33303ef02dfc7fc8f7f891421623169a35..87e61a15d6d2b22738cafb2d25f89d569fe0835a 100644 --- a/tests/disk/common.py +++ b/tests/disk/common.py @@ -39,7 +39,7 @@ def query_disk(logger, command): command.run_cmd("cat /proc/mdstat") -def get_disk(logger, command, config_data, pci_num): +def get_disk(logger, command, config_data, pci_num=""): """ Get disk info """ diff --git a/tests/disk/disk.py b/tests/disk/disk.py index 0d17c0ea71abd0c80b9513201530079444b567f4..b0fbc3d8959514a089b057b7ad3b836eb7dc216f 100755 --- a/tests/disk/disk.py +++ b/tests/disk/disk.py @@ -42,7 +42,7 @@ class DiskTest(Test): """ Start test """ - self.disks = get_disk(self.logger, self.command, self.config_data, self.pci_num) + self.disks = get_disk(self.logger, self.command, self.config_data) if len(self.disks) == 0: self.logger.error("No suite disk found to test.") return False