def test_to_wwn_not_aligned(self): ret = converter.to_wwn('ab123') assert_that(ret, equal_to('AB:12:3'))
def test_to_wwn_no_change(self): ret = converter.to_wwn('ab:12:34') assert_that(ret, equal_to('AB:12:34'))
def test_to_wwn(self): ret = converter.to_wwn('ab1234') assert_that(ret, equal_to('AB:12:34'))
def test_to_wwn_not_aligned(self): ret = converter.to_wwn('ab123') assert_that(ret, equal_to('AB:12:3'))
def test_to_wwn_no_change(self): ret = converter.to_wwn('ab:12:34') assert_that(ret, equal_to('AB:12:34'))
def test_to_wwn(self): ret = converter.to_wwn('ab1234') assert_that(ret, equal_to('AB:12:34'))