Skip to content

Commit b0d3253

Browse files
committed
Typechecking
1 parent 9e2354d commit b0d3253

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def test_resource_generation1() -> None:
231231
spec = JobSpec('/bin/date', resources=res)
232232
job = Job(spec=spec)
233233
ex = JobExecutor.get_instance('slurm')
234+
assert isinstance(ex, BatchSchedulerExecutor)
234235
with TemporaryFile(mode='w+') as f:
235236
ex.generate_submit_script(job, ex._create_script_context(job), f)
236237
f.seek(0)

0 commit comments

Comments
 (0)