def METHOD_NAME(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