def _get_module(module_name, backend=default_backend):
 backend_instance = testinfra.get_backend(backend)
 return backend_instance.get_module(_to_pascal_case(module_name))

def _get_module ( module_name , backend = default_backend ) : backend_instance = testinfra . get_backend ( backend ) return backend_instance . get_module ( _to_pascal_case ( module_name ) )
retrieve the correct module implementation determined by the backend being used .