[test] Pass __module__ upon instantiation of RegistrableInstance
This gets rid of the deprecation warning from logilab.common.registry:
DeprecationWarning: instantiate MyAFS with __module__=__name__
and solves a test error on Python 3.7.
--- a/cubicweb/devtools/test/data/libpython/cubicweb_i18ntestcube/views.py Fri Mar 08 12:00:47 2019 +0100
+++ b/cubicweb/devtools/test/data/libpython/cubicweb_i18ntestcube/views.py Fri Mar 08 11:50:20 2019 +0100
@@ -24,7 +24,7 @@
class MyAFS(uicfg.AutoformSectionRelationTags):
__select__ = is_instance('ForumThread')
-_myafs = MyAFS()
+_myafs = MyAFS(__module__=__name__)
_myafs.tag_object_of(('*', 'in_forum', 'Forum'), 'main', 'inlined')