umpire: ignore resources that are not provided in the factory bundle

A factory bundle may omit some resources(e.g. netboot_firmware).
If the test list does not contain the 'check_image_version' pytest,
then netboot_firmware is not required in the bundle.

BUG=none
TEST=import a bundle without netboot_firmware, the sync_shopfloor test
should run without problems.

Change-Id: I0d499d4f8003af11f4d40cd0f9db5d385f2f203d
Reviewed-on: https://chromium-review.googlesource.com/266470
Reviewed-by: Rong Chang <rongchang@chromium.org>
Commit-Queue: Wei-Ning Huang <wnhuang@chromium.org>
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
2 files changed