def test_entry_point_file_does_not_exists(self):
        """
        Tests that entry_point file doesn't exists at the path and if action delete
        api calls delete_action_files_from_pack function, it doesn't affect.
        """

        entry_point = os.path.join(TEST_PACK_PATH, "actions", "test_entry_point.py")
        metadata_file = os.path.join(TEST_PACK_PATH, "actions", "test_metadata.yaml")

        # creating only metadata file in dummy pack
        with open(metadata_file, "w") as f:
            f.write("# metadata file to be removed")

        # asserting entry_point file doesn't exist
        self.assertFalse(os.path.exists(entry_point))

        # asserting metadata files exists
        self.assertTrue(os.path.exists(metadata_file))

        delete_action_files_from_pack(TEST_PACK, entry_point, metadata_file)

        # asserting both entry_point and metadata files don't exist
        self.assertFalse(os.path.exists(entry_point))
        self.assertFalse(os.path.exists(metadata_file))

        Tests that entry_point file doesn't exists at the path and if action delete
        api calls delete_action_files_from_pack function, it doesn't affect.
        
st2common/tests/unit/services/test_packs.py