MonetDB / pymonetdb

The Python API for MonetDB
https://www.monetdb.org/
Mozilla Public License 2.0
28 stars 20 forks source link

Multiline handling #12

Closed kutsurak closed 8 years ago

kutsurak commented 8 years ago

This PR includes a test suite that mocks connections to MonetDB in order to test parts of the pymonetdb module. The first test in it mocks mapi.Connection._putblock and mapi.Connection._getblock, in order to test multi line responses from the server.

Also this PR adds support for the case of failed transactions in auto-commit mode.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 87.101% when pulling 20c103adf97cfd0b6b3fa5a2da541a28762f90ce on kutsurak:multiline into 1d477932e60035bb6d0d4556bd29a06e79775c3e on gijzelaerr:master.

gijzelaerr commented 8 years ago

hi @kutsurak, thanks for your pull request! It looks good. Do you think it is hard to fix the python2.6 test failure?

kutsurak commented 8 years ago

Hi @gijzelaerr. I haven't had time on Friday to fix it, I will take a look and get back to you.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.1%) to 87.101% when pulling 76e88f8354473ac2a0e54516984a6338f367428e on kutsurak:multiline into 1d477932e60035bb6d0d4556bd29a06e79775c3e on gijzelaerr:master.