Open moylop260 opened 8 years ago
@ruiztulio Can you help us to fix it?
Could you tell me how I can help you to fix it? We have next program in windows to sniffer the wrote commands...
FYI this was replied in virtual port saving the real input/output of physical fiscal printer: https://travis-ci.org/Vauxoo/stoqdrivers/builds/88749298#L634-L710
@ruiztulio I re-run the tests after next fix: https://github.com/Vauxoo/stoqdrivers/pull/11 The result was: https://travis-ci.org/Vauxoo/stoqdrivers/builds/89493943#L325-L326
@ruiztulio
What is the last status?
We can add a wrapper in the test to send ok
if this printer don't have the command tested.
@moylop260 I cannot find the error, and even tried to add the mp4000 in the same statement than mp20:
which don't have the cancel_last_coupon command either
So far all my tries have failed
@ruiztulio
Ok I got it with test_cancel_last_coupon
Thank you.
With test_totalize
, test_sintegra
and test_payment_receipt
... what is the situation?
@ruiztulio Could you check my last comment, please?
@moylop260 I haven't dedicated much time on this lately, but some of the generated text files seems to be wrong and shows an error returned by the printer, as you can see here the st2:
And the rep in the printer error (according to the manual): The last line in in the text file is showing that the command was not executed.
So, can you run only the 3 tests with the printer, better one by one and not batched, to check if they run properly in that way?
I think that one of the tests failed and the printer was in an error state, then the others failed too and all this was recorded in the files.
I applied next patch to force run test directly in physical fiscal printer to disable all test (except mp4000) and use real port:
Now, I executed the test and review the result:
The result of test and traceback is: