public void testopenIronPythonShellOnCmdExe()
        {
            var process = IronPythonShell.openIronPythonShellOnCmdExe();

            Assert.That(process != null, "process was null");
            Assert.That(process.HasExited == false, "process.HasExited");
            Processes.Sleep(1000);
            process.Kill();
            process.WaitForExit();
            Assert.That(process.HasExited, "process should had exited by now");
        }
        public void testIronPythonScriptExecution()
        {
            var expectedDataReceived = "5" + Environment.NewLine;

            Assert.That(IronPythonInstall.checkIronPythonInstallation(), "checkIronPythonInstallation return false");
            Assert.That(IronPythonShell.testIronPython("print 2+3", expectedDataReceived), "testIronPython failed");
            Assert.That(false == IronPythonShell.testIronPython("print 2+3", "4"), "testIronPython should had failed");

            var scriptToExecute = "print 2+3";

            var tempPyScript = DI.config.getTempFileInTempDirectory("py");

            Files.WriteFileContent(tempPyScript, scriptToExecute);

            var dataReceived = new IronPythonShell().executePythonFile(tempPyScript, "");

            Assert.That(dataReceived == expectedDataReceived, "data received did no match expectedDataReceived");
            File.Delete(tempPyScript);
        }