The two methods from the class, 'find' and
'get_all_by_resource_provider' are made module-level and tests
and callers updated as required. The signature on find changes to
take a list of Inventory objects as its first arg.
Change-Id: I50e69aececf0d1afd3218bb2d63407b273757b29