def METHOD_NAME(self):
    self.user = User.objects.create_user("tethys_super", "user@example.com", "pass")
    self.scheduler = CondorScheduler(
        name="test_scheduler",
        host="localhost",
        username="tethys_super",
        password="pass",
    )
    self.scheduler.save()
    path = os.path.dirname(__file__)
    self.workspace_dir = os.path.join(path, "workspace")
    self.condorjob = CondorJob(
        name="test condorbase",
        description="test_description",
        user=self.user,
        label="test_label",
        cluster_id="1",
        remote_id="test_machine",
        workspace=self.workspace_dir,
        scheduler=self.scheduler,
        condorpyjob_id="99",
        _attributes={"foo": "bar"},
        _remote_input_files=["test_file1.txt", "test_file2.txt"],
    )
    self.condorjob.save()
    self.id_val = TethysJob.objects.get(name="test condorbase").id