1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2025-12-19 12:28:12 +01:00
Files
fs-uae-wrapper/tests/test_plain.py

19 lines
384 B
Python

from unittest import TestCase
try:
from unittest import mock
except ImportError:
import mock
from fs_uae_wrapper import plain
from fs_uae_wrapper import utils
class TestPlainModule(TestCase):
@mock.patch('subprocess.call')
def test_show(self, subprocess_call):
plain.run('some.conf', utils.CmdOption(), None)
subprocess_call.assert_called_once()