@marshmallow.validates_schema(skip_on_field_errors=True)
        def check_migration_have_correct_source_and_dict(self, data):
            clouds = data['clouds']
            migrations = data.get('migrations', {})
            for migration_name, migration in migrations.items():
                if clouds not in migration.source:
                    raise marshmallow.ValidationError(
                        'Migration "{0}" source "{1}" should be defined '
                        'in clouds'.format(migration_name, migration.source))
                if migration.destination not in clouds:
                    raise marshmallow.ValidationError(
                        'Migration "{0}" destination "{1}" should be defined '
                        'in clouds'.format(migration_name,
                                           migration.destination))
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/config.py/Configuration.Schema.check_migration_have_correct_source_and_dict/swapped operands of `not in`