fix interface_selector bug
If a view using this selector defines an `accepts` attribute, the
view should be selectable only if the entity is of one of the
accepted types (+need to consider schema inheritance)
from logilab.common.testlib import main
if __name__ == '__main__':
import sys, os
main(os.path.dirname(sys.argv[0]) or '.')