Hawkey tests: fix filtering on requires by passing a query
Hawkey tests: fix filtering on requires by passing a query

Fixes tests after allowing to pass a query (or an iterable of packages)
as an argument to dependency filters (requires, suggests, etc.) in
"Query: add a dependency by solvable filter".

Drops the exception check and adds a simple test for the new
functionality.

rpm-software-management/libhif,rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,rpm-software-management/libdnf,rpm-software-management/libhif,hughsie/libhif,hughsie/libhif,rpm-software-management/libdnf,hughsie/libhif,hughsie/libhif,rpm-software-management/libdnf