def test_oc_exec():
    '\n    Test that oc exec works\n    :return:\n    '
    test_message = 'I am here'
    oc = OC(kubeadmin_password=test_environment_variable['kubeadmin_password'])
    oc.login()
    answer = oc.exec(pod_name='prometheus-k8s-0', namespace='openshift-monitoring', container='prometheus', command=f'echo "{test_message}"')
    assert (answer == test_message)
Test that oc exec works
:return:
def test_oc_exec():
    '\n    Test that oc exec works\n    :return:\n    '
    test_message = 'I am here'
    oc = OC(kubeadmin_password=test_environment_variable['kubeadmin_password'])
    oc.login()
    answer = oc.exec(pod_name='prometheus-k8s-0', namespace='openshift-monitoring', container='prometheus', command=f'echo "{test_message}"')
    assert (answer == test_message)