def test__category_key(self):
        self.assertEqual(
            self.r._category_key("Sample Category"),
            u"c:Sample Category"
        )
Creates a redis key for a given category string.
dataset/ETHPy150Open bradmontgomery/django-redis-metrics/redis_metrics/tests/test_models.py/TestR.test__category_key