def METHOD_NAME(self):
    """
    Tests that get_arg_info_from_tensor_fqn works for all parameters of the model.
    Generates a tensor_fqn in the same way as test_fqn_to_module_for_tensors and
    then compares with known (parent) module and tensor_name as well as module_fqn
    from module_to_fqn.
    """
    for model_class in model_list:
        model = model_class()
        list_of_modules = [m for _, m in model.named_modules()] + [model]
        for module in list_of_modules:
            module_fqn = module_to_fqn(model, module)
            for tensor_name, tensor in module.named_parameters(recurse=False):
                tensor_fqn = (
                    module_fqn + ("." if module_fqn != "" else "") + tensor_name
                )
                arg_info = get_arg_info_from_tensor_fqn(model, tensor_fqn)
                self.assertEqual(arg_info["module"], module)
                self.assertEqual(arg_info["module_fqn"], module_fqn)
                self.assertEqual(arg_info["tensor_name"], tensor_name)
                self.assertEqual(arg_info["tensor_fqn"], tensor_fqn)