Test basic remote exec functionality
(self)
| 2061 | proc.wait(timeout=SHORT_TIMEOUT) |
| 2062 | |
| 2063 | def test_remote_exec(self): |
| 2064 | """Test basic remote exec functionality""" |
| 2065 | script = 'print("Remote script executed successfully!")' |
| 2066 | returncode, stdout, stderr = self._run_remote_exec_test(script) |
| 2067 | # self.assertEqual(returncode, 0) |
| 2068 | self.assertIn(b"Remote script executed successfully!", stdout) |
| 2069 | self.assertEqual(stderr, b"") |
| 2070 | |
| 2071 | def test_remote_exec_bytes(self): |
| 2072 | script = 'print("Remote script executed successfully!")' |
nothing calls this directly
no test coverage detected