code: def test_cli_log(capsys):
      cli.main(["log"])
      captured = capsys.readouterr()
      assert captured.out == "wgit log\n"
      assert captured.err == ""
  
file_path: fairscale/tests/experimental/wgit/test_cli.py
imports: import json
  import os
  from pathlib import Path
  import shutil
  import pytest
  import torch
  from torch import nn
  import fairscale.experimental.wgit.cli
  from fairscale.experimental.wgit.sha1_store import SHA1_Store
label_desc: Use image node_id 6 for calling a global function with example usage: test_cli_log(capsys) without return types