Searched refs:mock_output (Results 1 – 2 of 2) sorted by relevance
25 mock_output = '00serial01\toffline'26 FAKE_RESULT = fake.FakeResult(stdout=mock_output)41 mock_output = '00serial01\tunauthorized'42 FAKE_RESULT = fake.FakeResult(stdout=mock_output)57 mock_output = '00serial01\tdevice'58 FAKE_RESULT = fake.FakeResult(stdout=mock_output)73 mock_output = '00serial01\toffline\n' \76 FAKE_RESULT = fake.FakeResult(stdout=mock_output)92 mock_output = ''93 FAKE_RESULT = fake.FakeResult(stdout=mock_output)[all …]
197 def test_is_external_run(self, mock_output): argument199 mock_output.return_value = ''201 mock_output.return_value = 'test@other.com'203 mock_output.return_value = 'test@google.com'205 mock_output.side_effect = OSError()207 mock_output.side_effect = subprocess.CalledProcessError(1, 'cmd')