Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aid testing by not wrapping flexmock expectation exceptions
Usually API methods will wrap any exceptions in OsbsException. However, if the exception is e.g. a MethodCallError, perhaps because a function expected never to be called has been called, this may cause a test to pass and mask a bug. Don't wrap MethodCallError or other flexmock expectation exceptions. Signed-off-by: Tim Waugh <twaugh@redhat.com>
- Loading branch information