Lines Matching refs:assertItemsEqual
709 self.assertItemsEqual([1, 2, 3], [3, 2, 1])
710 self.assertItemsEqual(['foo', 'bar', 'baz'], ['bar', 'baz', 'foo'])
711 self.assertItemsEqual([a, a, 2, 2, 3], (a, 2, 3, a, 2))
712 self.assertItemsEqual([1, "2", "a", "a"], ["a", "2", True, "a"])
713 self.assertRaises(self.failureException, self.assertItemsEqual,
715 self.assertRaises(self.failureException, self.assertItemsEqual,
717 self.assertRaises(self.failureException, self.assertItemsEqual,
719 self.assertRaises(self.failureException, self.assertItemsEqual,
721 self.assertRaises(self.failureException, self.assertItemsEqual,
725 self.assertItemsEqual([[1, 2], [3, 4], 0], [False, [3, 4], [1, 2]])
727 self.assertItemsEqual(iter([1, 2, [], 3, 4]),
731 self.assertRaises(self.failureException, self.assertItemsEqual,
734 self.assertItemsEqual([{'a': 1}, {'b': 2}], [{'b': 2}, {'a': 1}])
736 self.assertItemsEqual([1, 'x', divmod, []], [divmod, [], 'x', 1])
737 self.assertRaises(self.failureException, self.assertItemsEqual,
739 self.assertRaises(self.failureException, self.assertItemsEqual,
743 self.assertRaises(self.failureException, self.assertItemsEqual,
745 self.assertRaises(self.failureException, self.assertItemsEqual,
747 self.assertRaises(self.failureException, self.assertItemsEqual,
754 self.assertItemsEqual(a, b)