def test_objects_min_size_bounds_chunk_size(self):
        smart = iter(Author.objects.iter_smart_chunks(chunk_min=5,
                                                      chunk_size=1))
        seen = []
        for chunk in smart:
            ids = [author.id for author in chunk]
            assert 5 >= len(ids)
            seen.extend(ids)
        all_ids = list(Author.objects.order_by('id')
                                     .values_list('id', flat=True))
        assert seen == all_ids
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_models.py/SmartIteratorTests.test_objects_min_size_bounds_chunk_size/swapped operands of `>=`