tests: Make get_all_dependendencies() test more robust
tests: Make get_all_dependendencies() test more robust

Replace array comparison with checking if individual items are in the array.
This solves a problem where the returned array might be in a different order
as well as future proofs the test in case more dependencies are added.

GNOME/pygobject,GNOME/pygobject,pexip/pygobject,sfeltman/pygobject,pexip/pygobject,sfeltman/pygobject,sfeltman/pygobject,pexip/pygobject,GNOME/pygobject