def test_hardware_id(self): self.assertEqual(MultipathClaim._get_hardware_id("NFINIDAT", "InfiniBox"), "NFINIDATInfiniBox ") self.assertEqual(MultipathClaim._get_hardware_id("", ""), " "*24)