rebase master branch
@@ -1519,7 +1519,7 @@ func SkipIfUseFlannel(virtClient kubecli.KubevirtClient) {
func SkipIfNotUseNetworkPolicy(virtClient kubecli.KubevirtClient) {
expectedRes := "openshift-ovs-networkpolicy"
- out, _ := RunKubectlCommand("get", "clusternetwork")
+ out, _ := RunCommand("kubectl", "get", "clusternetwork")
//we don't check the result here, because this cmd is openshift only and will be failed on k8s cluster
if !strings.Contains(out, expectedRes) {
Skip("Skip networkpolicy test that require openshift-ovs-networkpolicy plugin")
