code: def test_status_outputs(tmp_dir, dvc):
      tmp_dir.dvc_gen({"foo": "foo", "bar": "bar"})
      dvc.run(
          outs=["alice", "bob"],
          deps=["foo", "bar"],
          cmd="echo alice>alice && echo bob>bob",
          name="alice_bob",
      )
      tmp_dir.gen({"alice": "new alice", "bob": "new bob"})
  
      assert dvc.status(targets=["alice_bob"]) == {
          "alice_bob": [
              {"changed outs": {"alice": "modified", "bob": "modified"}}
          ]
      }
  
      assert dvc.status(targets=["alice"]) == {
          "alice_bob": [{"changed outs": {"alice": "modified"}}]
      }
  
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 7 for calling a global function with example usage: test_status_outputs(tmp_dir, dvc) without return types