'Test that create_group return successfully.'

@mock.patch.object(huawei_driver.HuaweiBaseDriver, '_get_group_type', return_value=[{'hypermetro': 'true'}])
@cg_or_cg_snapshot
def test_create_hypermetro_group_success(self, mock_grouptype):

    ctxt = context.get_admin_context()
    model_update = self.driver.create_group(ctxt, self.group)
    self.assertEqual(fields.GroupStatus.AVAILABLE, model_update['status'], 'Group    created    failed')
