mirror of
https://github.com/lutris/lutris
synced 2024-09-04 23:13:35 +00:00
Update tests
This commit is contained in:
parent
bc01ab0347
commit
dfe1dad1fe
|
@ -274,7 +274,8 @@ class GameDialogCommon(object):
|
|||
game_sw = self.build_scrolled_window(self.game_box)
|
||||
else:
|
||||
game_sw = Gtk.Label(label=self.no_runner_label)
|
||||
self.game.runner = None
|
||||
if self.game:
|
||||
self.game.runner = None
|
||||
self._add_notebook_tab(game_sw, "Game options")
|
||||
|
||||
def _build_runner_tab(self, config_level):
|
||||
|
|
|
@ -21,7 +21,7 @@ class TestGameDialogCommon(TestCase):
|
|||
dlg = config_dialogs.GameDialogCommon()
|
||||
list_store = dlg._get_runner_liststore()
|
||||
self.assertTrue(
|
||||
list_store[1][0].startswith(runners.get_installed()[0].name)
|
||||
list_store[1][0].startswith(runners.get_installed()[0].human_name)
|
||||
)
|
||||
self.assertEqual(list_store[1][1], runners.get_installed()[0].name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue