chg: dev: only inform about popen for now

This commit is contained in:
rachmadaniHaryono 2019-04-30 13:43:52 +08:00 committed by Arun Prakash Jana
parent 158fef49e1
commit 80479fd54f
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -3,6 +3,7 @@ from itertools import product
from unittest import mock
from urllib.parse import urlparse
import json
import logging
import os
import signal
import sys
@ -726,7 +727,7 @@ def test_copy_to_clipboard(platform, params):
params, stdin=subprocess.PIPE, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
m_popen_retval.communicate.assert_called_once_with(content)
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', [