def assertRaisesInvalidOneOf(self, passed_data,
                                 incorrect, data_label, *args):
        context = self.get_invalid_data_context(passed_data, *args)
        self.assertIn(
            "Failed validating 'oneOf' in schema",
            context.exception.message)

        err_msg = "{0} is not valid under any of the given schemas"
        self.assertIn(
            err_msg.format(incorrect),
            context.exception.message)

        self.assertIn(
            "On instance{0}".format(data_label),
            context.exception.message)
Returns a frozenset of constants used in given terms.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py/BaseValidatorTest.assertRaisesInvalidOneOf--crossover with--dataset/ETHPy150Open Microsoft/ivy/ivy/logic_util.py/used_constants