docstr: Tests 'cpu' is returned if oneDNN is ON and CUDA is OFF
docstr_tok: ["Tests","'cpu","'","is","returned","if","oneDNN","is","ON","and","CUDA","is","OFF"]
code: def test_probe_variant_cpu(self, mock_features):
      """
      Tests 'cpu' is returned if oneDNN is ON and CUDA is OFF
      """
      mock_features.return_value = {"ONEDNN": True, "CUDA": False}
      self.assertEqual(probe_mxnet_variant("libmxnet.so"), "cpu")
  
imports: import unittest
  from unittest.mock import MagicMock, mock_open, patch
  from artifact_repository import *
label_desc: Use image node_id 14 for calling the TestArtifactRepositoryTool obj's underlying member method code with example usage: obj.test_probe_variant_cpu(mock_features) without return types