Exemple #1
0
    def test_set_iotune(self, iotune):
        conf = drive_config(
            serial='54-a672-23e5b495a9ea',
        )
        drive = Drive(self.log, **conf)

        with self.assertRaises(Exception):
            drive.iotune = iotune
    def test_set_iotune(self, iotune):
        conf = drive_config(
            serial='54-a672-23e5b495a9ea',
            diskType=DISK_TYPE.BLOCK,
        )
        drive = Drive(self.log, **conf)

        with pytest.raises(Exception):
            drive.iotune = iotune
Exemple #3
0
    def test_set_iotune(self, iotune):
        conf = drive_config(serial='54-a672-23e5b495a9ea', )
        drive = Drive(self.log, **conf)

        with self.assertRaises(Exception):
            drive.iotune = iotune