From 88493b4fcf9bb59910cd4842351cdca2bc53e339 Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Wed, 4 Mar 2015 15:28:05 +0100 Subject: [PATCH] Add game_slug to installer tests --- tests/test_installer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_installer.py b/tests/test_installer.py index 38cb0f21a..caf04beea 100644 --- a/tests/test_installer.py +++ b/tests/test_installer.py @@ -15,7 +15,8 @@ class TestScriptInterpreter(TestCase): script = { 'runner': 'foo', 'installer': 'bar', - 'name': 'baz' + 'name': 'baz', + 'game_slug': 'baz', } interpreter = ScriptInterpreter(script, None) self.assertFalse(interpreter.errors) @@ -25,7 +26,8 @@ class TestScriptInterpreter(TestCase): script = { 'foo': 'bar', 'installer': {}, - 'name': 'missing_runner' + 'name': 'missing_runner', + 'game_slug': 'missing-runner' } with self.assertRaises(ScriptingError): interpreter = ScriptInterpreter(script, None)