'Test whether results from ``execute_run`` do equal with the ones given.
This function does a sequence comparison without order, so for example
``[1, 2, 1]`` and ``[2, 1, 1]`` are considered equal.
:param real:
The actual results.
:param expected:
The expected results.'

def assertTestResultsEqual(self, real, expected):

    comparable_real = self.get_comparable_results(real)
    self.assertEqual(len(comparable_real), len(expected))
    for result in expected:
        self.assertIn(result, comparable_real)
        comparable_real.remove(result)
