@validation.required_services(consts.Service.HEAT)
    @validation.required_openstack(users=True)
    @scenario.configure()
    def list_stacks_and_events(self):

        stacks = self._list_stacks()
        with atomic.ActionTimer(
                self, "heat.list_events_of_%s_stacks" % len(stacks)):
            for stack in stacks:
                self.clients("heat").events.list(stack.id)
Looks up the mime type for 'filename'.
dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/heat/stacks.py/HeatStacks.list_stacks_and_events--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/FileClassification.__GetMimeTypeIfStaticFile