Enforce job_id as string
This commit is contained in:
parent
aaf16ee89d
commit
5cdee4d73d
2 changed files with 5 additions and 5 deletions
|
@ -79,10 +79,10 @@ def test_spawner_parse_job_id():
|
|||
"""Test spawner job id parser."""
|
||||
spawner = GlicidSpawner()
|
||||
|
||||
assert spawner.parse_job_id('123') == 123
|
||||
assert spawner.parse_job_id('123') == '123'
|
||||
assert spawner.parse_job_id('456;nautilus') == '456 -M nautilus'
|
||||
|
||||
assert spawner.parse_job_id('') is None
|
||||
assert spawner.parse_job_id('') == ''
|
||||
|
||||
|
||||
def test_spawner_options_form(monkeypatch):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue