Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed import paths for correct namespace #1

Closed
wants to merge 1 commit into from

2 participants

Manish S. Saindane Lavakumar Kuppan
Manish S. Saindane

Fixed include / import paths for the correct namespace within Scripted send setup methods

Lavakumar Kuppan
Owner

Nice catch! Fixed in version 0.9.0.1

Lavakumar Kuppan Lavakumar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 7, 2012
  1. Manish S. Saindane
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 IronWASP/ManualTesting.cs
4 IronWASP/ManualTesting.cs
View
@@ -378,7 +378,7 @@ internal static string SetPyScriptedSend(string FunctionCode)
{
ScriptEngine Engine = Python.CreateEngine();
StringBuilder FullCode = new StringBuilder();
- FullCode.AppendLine("from Iron import *");
+ FullCode.AppendLine("from IronWASP import *");
FullCode.AppendLine("class ss(ScriptedSender):");
FullCode.AppendLine("\tdef ScriptedSend(self, req):");
string[] CodeLines = FunctionCode.Split(new string[] {"\r\n"}, StringSplitOptions.RemoveEmptyEntries);
@@ -399,7 +399,7 @@ internal static string SetRbScriptedSend(string FunctionCode)
{
ScriptEngine Engine = Ruby.CreateEngine();
StringBuilder FullCode = new StringBuilder();
- FullCode.AppendLine("include Iron");
+ FullCode.AppendLine("include IronWASP");
FullCode.AppendLine("class SS < ScriptedSender");
FullCode.AppendLine("\tdef scripted_send(req)");
string[] CodeLines = FunctionCode.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
Something went wrong with that request. Please try again.