Skip to content

Commit

Permalink
Issue #432 Fix unit test for python 3.6 (method did not exist yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanKJSchreurs committed Jul 28, 2023
1 parent f7be347 commit 4dc2ff5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/extra/test_job_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,6 @@ def start_job(row, connection, **kwargs):
year = row["year"]
return BatchJob(job_id=f"job-{year}", connection=connection)

# manager.run_jobs(df=df, start_job=start_job, output_file=output_file)
## assert sleep_mock.call_count > 1000

def start_worker_thread():
manager.run_jobs(df=df, start_job=start_job, output_file=output_file)
# process_finished_file.write_text("done")
Expand All @@ -240,7 +237,7 @@ def start_worker_thread():

if proc.is_alive:
# now forcibly kill the process, then have to join it again.
proc.kill()
proc.terminate()
proc.join()

assert proc.exitcode == 0, (
Expand Down

0 comments on commit 4dc2ff5

Please sign in to comment.