evshvarov / csvgen-python

Embedded python to load csv
MIT License
0 stars 2 forks source link

Error in UNIT test #1

Open rcemper opened 1 year ago

rcemper commented 1 year ago

» Test.shvarov.csvgenpy.Testcsv failed
ERROR #5001: Process $zu(115,1) settings changed from 1 to 2 + ERROR #5001: Process $zu(115,5) settings changed from 0 to 1

Explanation: %UnitTest.Manager.cls(Cleanup+58): if State("zu115",i)'=$zu(115,i) { %UnitTest.Manager.cls(Cleanup+59): Set rc=$$$ERROR($$$GeneralError,"Process $zu(115,"i") settings changed from "State("zu115",i)" to "_$zu(115,i))

from $SYSTEM.SQL.Util.GetOption) on ZU(115,...): if option="AUTOCOMMIT" { return $zu(115,1) } if option="SELECTMODE" { return $zu(115,5) }

%Unit.Test.Manager dislikes change of AUTOCOMMIT and SELCTMODE in your Test Class.

I think this is pure NONSENSE and should be ignored

evshvarov commented 1 year ago

It looks like it is a bug in embedded python. Yes, all the rest works fine

On Mon, 15 May 2023 at 18:14, rcemper @.***> wrote:

» Test.shvarov.csvgenpy.Testcsv failed ERROR #5001: Process $zu(115,1) settings changed from 1 to 2 + ERROR #5001: Process $zu(115,5) settings changed from 0 to 1

Explanation: %UnitTest.Manager.cls(Cleanup+58): if State("zu115",i)'=$zu(115,i) { %UnitTest.Manager.cls(Cleanup+59): Set rc=$$$ERROR($$$GeneralError,"Process $zu(115,"i") settings changed from "State("zu115",i)" to "_$zu(115,i))

from $SYSTEM.SQL.Util.GetOption) on ZU(115,...): if option="AUTOCOMMIT" { return $zu(115,1) } if option="SELECTMODE" { return $zu(115,5) }

%Unit.Test.Manager dislikes change of AUTOCOMMIT and SELCTMODE in your Test Class.

I think this is pure NONSENSE and should be ignored

— Reply to this email directly, view it on GitHub https://github.com/evshvarov/csvgen-python/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVHEPYWT5ZQGH4SJP6SCMDXGI24FANCNFSM6AAAAAAYCIMBZI . You are receiving this because you are subscribed to this thread.Message ID: @.***>