code: def test_all_branches(tmp_dir, scm, dvc):
      assert all_branches() == ["master"]
  
      with tmp_dir.branch("branch", new=True):
          tmp_dir.scm_gen("branch", "branch", "commit")
  
      assert all_branches() == ["branch", "master"]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_all_branches(tmp_dir, scm, dvc) without return types