Martin Bašti f38f717539 Fix pytest 5.0.0 compatibility
pytest.raises() returns exception info not the exception itself. They
changed implementation of exception info, so now .value property must be
used to get the exception instance and have proper output from str()
method.

https://github.com/pytest-dev/pytest/issues/5412

Signed-off-by: Martin Bašti <mbasti@redhat.com>
2019-07-17 18:56:18 +03:00
..
2018-08-01 15:31:17 +03:00
2015-07-03 07:46:22 +03:00
2019-07-17 18:56:18 +03:00
2015-07-03 07:46:22 +03:00