Skip to content

Commit 6c1be7f

Browse files
committed
Bugfix for tests (948846f): keyword argument mismatch
1 parent 948846f commit 6c1be7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

batchspawner/tests/test_spawners.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def _get_batch_script(self, **subvars):
182182
script = yield super()._get_batch_script(**subvars)
183183
assert 'singleuser_command' in script
184184
return script
185-
spawner = new_spawner(db=db, SpawnerClass=BatchDummyTestScript)
185+
spawner = new_spawner(db=db, spawner_class=BatchDummyTestScript)
186186
#status = io_loop.run_sync(spawner.poll, timeout=5)
187187
io_loop.run_sync(spawner.start, timeout=5)
188188
#status = io_loop.run_sync(spawner.poll, timeout=5)
@@ -199,7 +199,7 @@ def run_command(self, cmd, *args, **kwargs):
199199
print(cmd)
200200
out = yield super().run_command(cmd, *args, **kwargs)
201201
return out
202-
spawner = new_spawner(db=db, SpawnerClass=BatchDummyTestScript)
202+
spawner = new_spawner(db=db, spawner_class=BatchDummyTestScript)
203203
# Not running
204204
status = io_loop.run_sync(spawner.poll, timeout=5)
205205
assert status == 1

0 commit comments

Comments
 (0)