Skip to content

Commit b468d75

Browse files
committed
umu_test: add test for is_steamdeck
1 parent 329ca4a commit b468d75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

umu/umu_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ def tearDown(self):
179179
if self.test_winepfx.exists():
180180
rmtree(self.test_winepfx.as_posix())
181181

182+
def test_is_steamdeck(self):
183+
"""Test is_steamdeck."""
184+
self.assertIsInstance(
185+
umu_util.is_steamdeck(), bool, "Expected a boolean"
186+
)
187+
182188
def test_is_installed_verb_noverb(self):
183189
"""Test is_installed_verb when passed an empty verb."""
184190
verb = []

0 commit comments

Comments
 (0)