mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Minor cosmetic changes
This commit is contained in:
parent
f5f1598b41
commit
992ae403b9
|
@ -1,21 +1,3 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding:Utf-8 -*-
|
||||
#
|
||||
# Copyright (C) 2010 Mathieu Comandon <strider@strycore.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 3 as
|
||||
# published by the Free Software Foundation.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from lutris.util.log import logger
|
||||
from lutris.config import LutrisConfig
|
||||
|
||||
|
|
|
@ -40,7 +40,3 @@ class TestPersonnalGameArchive(unittest.TestCase):
|
|||
game_list = pga.get_games(name_filter='bang')
|
||||
self.assertEqual(len(game_list), 1)
|
||||
self.assertEqual(game_list[0]['name'], 'bang')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
|
@ -6,10 +6,10 @@ from lutris.runners.snes9x import snes9x
|
|||
LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestUae(TestCase):
|
||||
class TestSnes9x(TestCase):
|
||||
def test_set_option(self):
|
||||
snes9x_runner = snes9x()
|
||||
if snes9x_runner.is_installed():
|
||||
snes9x_runner.set_option("full_screen_on_open", "1")
|
||||
else:
|
||||
LOGGER.info("snes9x not installed can't run test")
|
||||
LOGGER.info("snes9x not installed, can't run test")
|
||||
|
|
Loading…
Reference in a new issue