def test_anonymous(self):
        backend = CachedModelAuthBackend()
        mock_user = Mock()
        mock_user.is_anonymous.return_value = True

        result = backend.get_all_permissions(mock_user)
        self.assertEqual(result, set())
        self.assertFalse(self.mockcache.get.called)
Builds a feed URI.
dataset/ETHPy150Open ofa/connect/open_connect/connect_core/tests/test_utils_auth_backends.py/TestCachedModelAuthBackend.test_anonymous--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/contacts/client.py/ContactsClient.get_feed_uri