assert_has_calls() has different order of specified calls. if any_order is true then the calls can be in any order, but they must all appear in mock_calls. https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.assert_has_calls
CMS (Content Management System) ------------------------------- This directory contains code relating to the course management portal for edX, also known as Studio.