def METHOD_NAME(self):
    with helpers.changed_config(
        u"ckan.datastore.write_url", u"sqlite://x"
    ):
        with pytest.raises(AssertionError):
            DatastoreBackend.set_active_backend(config)
    with helpers.changed_config(u"ckan.datastore.read_url", u"sqlite://x"):
        with pytest.raises(AssertionError):
            DatastoreBackend.set_active_backend(config)