The installer section is not a string nor a dict

This commit is contained in:
Mathieu Comandon 2016-10-31 17:11:55 -07:00
parent 4589ae92e4
commit 79bdc122fe

View file

@ -15,7 +15,7 @@ class TestScriptInterpreter(TestCase):
def test_script_with_correct_values_is_valid(self): def test_script_with_correct_values_is_valid(self):
script = { script = {
'runner': 'wine', 'runner': 'wine',
'installer': 'bar', 'installer': [],
'name': 'baz', 'name': 'baz',
'game_slug': 'baz', 'game_slug': 'baz',
} }
@ -26,7 +26,7 @@ class TestScriptInterpreter(TestCase):
def test_move_requires_src_and_dst(self): def test_move_requires_src_and_dst(self):
script = { script = {
'foo': 'bar', 'foo': 'bar',
'installer': {}, 'installer': [],
'name': 'missing_runner', 'name': 'missing_runner',
'game_slug': 'missing-runner' 'game_slug': 'missing-runner'
} }