code: def __init__(self, job, basedir):
      self.name = job.rule.name
      self.output = job.output
      self.path = basedir / self.name
  
file_path: snakemake/snakemake/unit_tests/__init__.py
imports: from itertools import groupby
  from pathlib import Path
  import shutil
  import os
  from snakemake.common import async_run
  from snakemake.logging import logger
  from snakemake import __version__
  from snakemake.exceptions import WorkflowError
label_desc: Use image node_id 1 to create a new RuleTest object  with example: obj = RuleTest(job, basedir)