code: def test_quiet(tmp_dir, dvc, capsys):
      tmp_dir.dvc_gen("foo", "foo")
  
      # clear
      capsys.readouterr()
  
      assert main(["status", "--quiet"]) == 0
      out_err = capsys.readouterr()
      assert not out_err.out
      assert not out_err.err
  
      tmp_dir.gen("foo", "barr")
  
      assert main(["status", "--quiet"]) == 1
      out_err = capsys.readouterr()
      assert not out_err.out
      assert not out_err.err
  
file_path: dvc/tests/func/test_status.py
imports: import os
  from dvc.cli import main
  from dvc.fs import localfs
label_desc: Use image node_id 1 for calling a global function with example usage: test_quiet(tmp_dir, dvc, capsys) without return types