def test_dedupe(self):
        self.assertEqual(
            list(dedupe(['a', 'a', 'b', 'c', 'b', 'c', 'c', 'c'])),
            ['a', 'b', 'c']
        )
Test the redis_metrics.models.dedupe function.
dataset/ETHPy150Open bradmontgomery/django-redis-metrics/redis_metrics/tests/test_models.py/TestR.test_dedupe