docstr: Tests is file returns False when path exists and is _not_ a file
docstr_tok: ["Tests","is","file","returns","False","when","path","exists","and","is","_not_","a","file"]
code: def test_is_file_not_file(self, mock_exists, mock_isfile):
      """
      Tests is file returns False when path exists and is _not_ a file
      """
      mock_exists.return_value = True
      mock_isfile.return_value = False
      self.assertFalse(is_file("some/path"))
  
imports: import unittest
  from unittest.mock import MagicMock, mock_open, patch
  from artifact_repository import *
label_desc: Use image node_id 35 for calling the TestArtifactRepositoryTool obj's underlying member method code with example usage: obj.test_is_file_not_file(mock_exists, mock_isfile) without return types