def test__raises_no_errors_without_iscsi_prefix(self): host = factory.make_ipv4_address() target_name = factory.make_name('target') validate_iscsi_target('%s::::%s' % (host, target_name))
def test_raises_no_errors_with_iscsi_prefix(self): host = factory.make_ipv4_address() target_name = factory.make_name("target") validate_iscsi_target("iscsi:%s::::%s" % (host, target_name))