func TestDeleteLogicalSwitchGroup(t *testing.T) {
	var (
		d                      *OVTest
		c                      *ov.OVClient
		testName               string
		testLogicalSwitchGroup ov.LogicalSwitchGroup
	)
	if os.Getenv("ONEVIEW_TEST_ACCEPTANCE") == "true" {
		d, c = getTestDriverA("test_logical_switch_group")
		if c == nil {
			t.Fatalf("Failed to execute getTestDriver() ")
		}
		testName = d.Tc.GetTestData(d.Env, "Name").(string)

		err := c.DeleteLogicalSwitchGroup(testName)
		assert.NoError(t, err, "DeleteLogicalSwitchGroup err-> %s", err)

		testLogicalSwitchGroup, err = c.GetLogicalSwitchGroupByName(testName)
		assert.NoError(t, err, "GetLogicalSwitchGroupByName with deleted logical switch gorup-> %+v", err)
		assert.Equal(t, "", testLogicalSwitchGroup.Name, fmt.Sprintf("Problem getting logicalSwitchGroup name, %+v", testLogicalSwitchGroup))
	} else {
		_, c = getTestDriverU("test_logical_switch_group")
		err := c.DeleteLogicalSwitchGroup("footest")
		assert.Error(t, err, fmt.Sprintf("ALL ok, no error, caught as expected: %s,%+v\n", err, testLogicalSwitchGroup))
	}

}