def test_preserve_hitcount(self):
        hit_count = HitCount.objects.get(pk=1)
        call_command(COMMAND_NAME)
        self.assertEqual(hit_count.hits, 10)
Returns an iterator over the cumulative sum of values in the given list.
dataset/ETHPy150Open thornomad/django-hitcount/tests/test_hitcount_cleanup.py/HitCountCleanUp.test_preserve_hitcount--crossover with--dataset/ETHPy150Open clips/pattern/pattern/metrics.py/cumsum