Increase coverage moar

This commit is contained in:
Anthony Sottile 2014-04-13 15:28:48 -07:00
parent 0fec434380
commit 7d4787eced
4 changed files with 14 additions and 8 deletions

View file

@ -21,7 +21,7 @@ def test_CalledProcessError_str():
@pytest.fixture
def popen_mock():
popen = mock.Mock(spec=subprocess.Popen)
popen.return_value.communicate.return_value = ('stdout', 'stderr')
popen.return_value.communicate.return_value = (b'stdout', b'stderr')
return popen