'M2M relations with explicit through models should NOT count as
dependencies.  The through model itself will have dependencies, though.'

def test_dependency_sorting_m2m_complex(self):

    sorted_deps = serializers.sort_dependencies([('fixtures_regress', [M2MComplexA, M2MComplexB, M2MThroughAB])])
    self.assertEqual(sorted_deps[(-1)], M2MThroughAB)
