An yml import is instantiated in old api style, with old api self and registry. As there are no more api.v7 method in report, rewriting the yml test in python will make the test valid