def test_cache_key(): # Test that we are not taking the db into account when building our # cache keys for django-cache-machine. See bug 928881. eq_(Webapp._cache_key(1, 'default'), Webapp._cache_key(1, 'slave'))