def test_check_output(self):
        output = self.context.check_output(["echo", "-n", "luigi"])
        self.assertEqual(output, b"luigi")
Test check_output ssh
dataset/ETHPy150Open spotify/luigi/test/contrib/test_ssh.py/TestRemoteContext.test_check_output