def test_setting_new_list_causes_submit(self):
        user = self.user

        loc1 = make_loc('secondloc')

        with patch('corehq.apps.users.models.CommCareUser.submit_location_block') as submit_blocks:
            user.create_location_delegates([loc1])
            self.assertEqual(submit_blocks.call_count, 1)
Generate ADU breakdown of ``field``.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/commtrack/tests/test_locations.py/MultiLocationsTest.test_setting_new_list_causes_submit--crossover with--dataset/ETHPy150Open mozilla/addons-server/src/olympia/stats/views.py/usage_breakdown_series