test(cli): print steam list and steam folder

This commit is contained in:
Rachmadani Haryono 2021-12-15 17:42:28 +08:00 committed by Mathieu Comandon
parent ad44e6a403
commit 57be9f7c62

20
tests/test_cli.py Normal file
View file

@ -0,0 +1,20 @@
from unittest import TestCase
import gi
gi.require_version('Gtk', '3.0')
from lutris.gui.application import Application
class TestPrint(TestCase):
def setUp(self):
self.lutris_application = Application()
def test_print_steam_list(self):
self.lutris_application.print_steam_list('cmd')
def test_print_steam_folders(self):
self.lutris_application.print_steam_folders('cmd')