lutris/tests/test_snes9x.py

16 lines
403 B
Python
Raw Normal View History

2013-05-21 21:38:21 +00:00
import logging
from unittest import TestCase
from lutris.runners.snes9x import snes9x
LOGGER = logging.getLogger(__name__)
2013-05-28 12:17:41 +00:00
class TestSnes9x(TestCase):
2013-05-21 21:38:21 +00:00
def test_set_option(self):
snes9x_runner = snes9x()
2013-05-28 12:15:41 +00:00
if snes9x_runner.is_installed():
snes9x_runner.set_option("full_screen_on_open", "1")
else:
2013-05-28 12:17:41 +00:00
LOGGER.info("snes9x not installed, can't run test")