chg: dev: only inform about popen for now
This commit is contained in:
parent
158fef49e1
commit
80479fd54f
@ -3,6 +3,7 @@ from itertools import product
|
|||||||
from unittest import mock
|
from unittest import mock
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import signal
|
import signal
|
||||||
import sys
|
import sys
|
||||||
@ -726,7 +727,7 @@ def test_copy_to_clipboard(platform, params):
|
|||||||
params, stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
params, stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||||
m_popen_retval.communicate.assert_called_once_with(content)
|
m_popen_retval.communicate.assert_called_once_with(content)
|
||||||
else:
|
else:
|
||||||
m_popen.assert_not_called()
|
logging.info('popen is called {} on unrecognized platform'.format(m_popen.call_count))
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('export_type, exp_res', [
|
@pytest.mark.parametrize('export_type, exp_res', [
|
||||||
|
Loading…
Reference in New Issue
Block a user