While reading the code I stumbled over the following problem:
The constructor of pymodbus.client.sync.ModbusUdpClient attempts
to create a ModbuSocketFramer (no "s" at the end of "Modbu").
I've attached a small patch for fixing this problem including some
unittests.
Beware that the current version of the test_client module imports
the unittest module from twisted.trial - this does not allow to
actually run unittests. I've replaced it by a Python's unittest
module for now. If you'd rather import twisted.trial.unittest,
please adapt my patch accordingly.
Thanks, Albert
Original issue reported on code.google.com by albert.k...@gmail.com on 22 Feb 2011 at 2:22
Original issue reported on code.google.com by
albert.k...@gmail.com
on 22 Feb 2011 at 2:22Attachments: