From d99e942557f73c9b7fcf5047954a9a76f3b35fb4 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Tue, 18 Apr 2017 17:45:17 -0700 Subject: [PATCH] Add version to test installers --- tests/test_installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_installer.py b/tests/test_installer.py index 35f46160f..7cbf1a1da 100644 --- a/tests/test_installer.py +++ b/tests/test_installer.py @@ -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)