mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Add version to test installers
This commit is contained in:
parent
4ea44915e5
commit
d99e942557
|
@ -19,6 +19,7 @@ class TestScriptInterpreter(TestCase):
|
|||
'name': 'Doom',
|
||||
'slug': 'doom',
|
||||
'game_slug': 'doom',
|
||||
'version': 'doom-gzdoom'
|
||||
}
|
||||
interpreter = ScriptInterpreter(installer, None)
|
||||
self.assertFalse(interpreter.errors)
|
||||
|
@ -29,7 +30,8 @@ class TestScriptInterpreter(TestCase):
|
|||
'foo': 'bar',
|
||||
'script': [],
|
||||
'name': 'missing_runner',
|
||||
'game_slug': 'missing-runner'
|
||||
'game_slug': 'missing-runner',
|
||||
'version': 'bar-baz'
|
||||
}
|
||||
with self.assertRaises(ScriptingError):
|
||||
interpreter = ScriptInterpreter(script, None)
|
||||
|
|
Loading…
Reference in a new issue