def test_load_arbitrary_backend(self):
        config = MagicMock()
        config.get_settings.return_value = {
            'auth.db.url': 'sqlite:///:memory:',
            'pypi.access_backend': 'pypicloud.access.sql.SQLAccessBackend',
        }
        includeme(config)
        config.add_request_method.assert_called_with(
            PartialEq(SQLAccessBackend),
            name='access', reify=True)
Can pass dotted path to load arbirary backend
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestBaseBackend.test_load_arbitrary_backend