We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2354d commit b0d3253Copy full SHA for b0d3253
tests/test_executor.py
@@ -231,6 +231,7 @@ def test_resource_generation1() -> None:
231
spec = JobSpec('/bin/date', resources=res)
232
job = Job(spec=spec)
233
ex = JobExecutor.get_instance('slurm')
234
+ assert isinstance(ex, BatchSchedulerExecutor)
235
with TemporaryFile(mode='w+') as f:
236
ex.generate_submit_script(job, ex._create_script_context(job), f)
237
f.seek(0)
0 commit comments