def filter_security_groups(self):
        sgs = [sg['name'] for i in config.tenants if i in 'security_groups'
               for sg in i['security_groups']]
        return self._get_neutron_resources('security_groups', sgs)
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry_devlab/cloudferry_devlab/tests/functional_test.py/FunctionalTest.filter_security_groups/swapped operands of `in`