diff --git a/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj b/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj index cf06d081962e..e5aa730895f7 100644 --- a/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj +++ b/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj @@ -32,7 +32,7 @@ portable - + diff --git a/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj b/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj index 5c18dfe92bf5..8730a8a7ac6c 100644 --- a/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj +++ b/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj @@ -29,7 +29,7 @@ LICENSE - + diff --git a/Algorithm.Python/QuantConnect.Algorithm.Python.csproj b/Algorithm.Python/QuantConnect.Algorithm.Python.csproj index e46e0d1309bd..21fe21e16876 100644 --- a/Algorithm.Python/QuantConnect.Algorithm.Python.csproj +++ b/Algorithm.Python/QuantConnect.Algorithm.Python.csproj @@ -37,7 +37,7 @@ - + diff --git a/Algorithm/QuantConnect.Algorithm.csproj b/Algorithm/QuantConnect.Algorithm.csproj index 6b63f3c57e8d..e44ecc8be1d9 100644 --- a/Algorithm/QuantConnect.Algorithm.csproj +++ b/Algorithm/QuantConnect.Algorithm.csproj @@ -29,7 +29,7 @@ LICENSE - + diff --git a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj index a03e1e3e7776..ae80a940178a 100644 --- a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj +++ b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj @@ -28,7 +28,7 @@ LICENSE - + diff --git a/Common/QuantConnect.csproj b/Common/QuantConnect.csproj index e48ca7794b14..2020cf1ad443 100644 --- a/Common/QuantConnect.csproj +++ b/Common/QuantConnect.csproj @@ -35,7 +35,7 @@ - + diff --git a/Engine/QuantConnect.Lean.Engine.csproj b/Engine/QuantConnect.Lean.Engine.csproj index be5c2b698bff..d6c480f0b4fc 100644 --- a/Engine/QuantConnect.Lean.Engine.csproj +++ b/Engine/QuantConnect.Lean.Engine.csproj @@ -41,7 +41,7 @@ - + diff --git a/Indicators/QuantConnect.Indicators.csproj b/Indicators/QuantConnect.Indicators.csproj index 2fc772f6d302..fcc338c985bd 100644 --- a/Indicators/QuantConnect.Indicators.csproj +++ b/Indicators/QuantConnect.Indicators.csproj @@ -31,7 +31,7 @@ - + diff --git a/Report/QuantConnect.Report.csproj b/Report/QuantConnect.Report.csproj index 6c1bfbfbf72e..cc7b4b0df6ee 100644 --- a/Report/QuantConnect.Report.csproj +++ b/Report/QuantConnect.Report.csproj @@ -39,7 +39,7 @@ LICENSE - + diff --git a/Research/QuantConnect.Research.csproj b/Research/QuantConnect.Research.csproj index bae6cac7a955..c60e2cbbec59 100644 --- a/Research/QuantConnect.Research.csproj +++ b/Research/QuantConnect.Research.csproj @@ -34,7 +34,7 @@ - + diff --git a/Tests/Common/Exceptions/NoMethodMatchPythonExceptionInterpreterTests.cs b/Tests/Common/Exceptions/NoMethodMatchPythonExceptionInterpreterTests.cs index 9b0ccd62b8cf..fdaa0e6dd8db 100644 --- a/Tests/Common/Exceptions/NoMethodMatchPythonExceptionInterpreterTests.cs +++ b/Tests/Common/Exceptions/NoMethodMatchPythonExceptionInterpreterTests.cs @@ -90,9 +90,10 @@ public void VerifyMessageContainsTheMethodName() var interpreter = new NoMethodMatchPythonExceptionInterpreter(); exception = interpreter.Interpret(exception, NullExceptionInterpreter.Instance); - // The interpreter should reference the actual method name that failed to resolve (SetCash), - // not a fragment of the argument type list (e.g. "'str'>)"). - Assert.That(exception.Message, Does.Contain("SetCash")); + // The interpreter should reference the actual method name that failed to resolve + // (set_cash, the snake_case name Python callers use), not a fragment of the argument + // type list (e.g. "'str'>)"). + Assert.That(exception.Message, Does.Contain("set_cash")); Assert.That(exception.Message, Does.Not.Contain(">)")); } @@ -113,9 +114,9 @@ public void VerifyMessageContainsTheMethodNameForOverloadedMethod() var interpreter = new NoMethodMatchPythonExceptionInterpreter(); var exception = interpreter.Interpret(pythonException, NullExceptionInterpreter.Instance); - // The interpreter should reference the RSI method name, not a fragment of the - // argument type list (e.g. "'QuantConnect.Resolution'>)"). - Assert.That(exception.Message, Does.Contain("RSI")); + // The interpreter should reference the rsi method name (snake_case, as Python callers + // use it), not a fragment of the argument type list (e.g. "'QuantConnect.Resolution'>)"). + Assert.That(exception.Message, Does.Contain("rsi")); Assert.That(exception.Message, Does.Not.Contain(">)")); } diff --git a/Tests/QuantConnect.Tests.csproj b/Tests/QuantConnect.Tests.csproj index 5802e90fd0bf..b1a4fc285adb 100644 --- a/Tests/QuantConnect.Tests.csproj +++ b/Tests/QuantConnect.Tests.csproj @@ -31,7 +31,7 @@ - +