internap / virtualpdu

A virtual power distribution unit (PDU) for controlling libvirt virtual machines via SNMP commands.
Apache License 2.0
3 stars 6 forks source link

Fixing intermittent unit test failures #7

Closed idjaw closed 8 years ago

idjaw commented 8 years ago

It was discovered that libvirt checks the last error that was raised, so the validation of current exceptions was not being caught properly since the last error was always grabbed. Creating a 'dummy' Error class that bypasses the forcing of grabbing the last error solves this

godp1301 commented 8 years ago

👍