Minor cosmetic changes

This commit is contained in:
Mathieu Comandon 2013-05-28 14:17:41 +02:00
parent f5f1598b41
commit 992ae403b9
3 changed files with 2 additions and 24 deletions

View file

@ -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

View file

@ -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()

View file

@ -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")