mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-18 03:50:28 +01:00
13 lines
321 B
Python
13 lines
321 B
Python
from unittest import TestCase
|
|
|
|
from fs_uae_wrapper import path
|
|
|
|
|
|
class TestPath(TestCase):
|
|
|
|
def test_which(self):
|
|
self.assertEqual(path.which('sh'), 'sh')
|
|
self.assertIsNone(path.which('blahblahexec'))
|
|
self.assertEqual(path.which(['blahblahexec', 'pip', 'sh']),
|
|
'pip')
|