Declare expected exceptions
authorStephen Kitt <skitt@redhat.com>
Tue, 10 Nov 2015 08:46:13 +0000 (09:46 +0100)
committerStephen Kitt <skitt@redhat.com>
Tue, 10 Nov 2015 08:46:13 +0000 (09:46 +0100)
commit852a4e7bd0924bebee6ddf1085f7d81dc2b709bb
tree780bf3e158951c0896f5d2930e1784e676f8c099
parenta5f71c8ac13a86fe9c9b57068ce9784ba4fbe111
Declare expected exceptions

@Test supports declaring (and verifying) expected exceptions, let's
use that instead of manually detecting the exceptions.

Change-Id: Iafe26c2c566ebdfe7616a864d5e6c60d3b2b7fe2
Signed-off-by: Stephen Kitt <skitt@redhat.com>