summaryrefslogtreecommitdiffstats
path: root/tests/units
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-19 12:34:31 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-05-19 12:34:31 +0200
commitde2ce69e460e6e6dd2b959bb18707314a16c8887 (patch)
tree8ed6e4697c72c25fcfac2e6c043c0fabd2f04f35 /tests/units
parent28a25918b2452423e753735aed83e13168f51020 (diff)
Refactor OgQMP and adapt operations
This patch: - Fixes logic errors in the communication with QMP (the order of handshake messages was not right). - Rewrite parts of OgQMP class. - Enforces better coding practices by using Python's "context managers" to avoid forgeting an open socket in case exceptions occur. - Adapt virtual operations to the use of "context managers" using the "with" statement.
Diffstat (limited to 'tests/units')
0 files changed, 0 insertions, 0 deletions