[test] test can_use_rest_path directly
No need to go through the Entity.rest_path if what we want is to
unittest that one function.
#! /bin/sh -e#if [ "$1" = configure ]; then if which install-docs >/dev/null 2>&1; then install-docs -i /usr/share/doc-base/cubicweb-doc fifi#DEBHELPER#exit 0