(temp_tree)
| 51 | |
| 52 | |
| 53 | def test_tree_find_and_replace_nested_content(temp_tree): |
| 54 | utils.tree_find_and_replace(temp_tree, "Nested", "Updated") |
| 55 | with open(os.path.join(temp_tree, "nested_dir", "nested_file.txt"), "r") as f: |
| 56 | assert f.read() == "Updated content" |
| 57 | |
| 58 | |
| 59 | def test_tree_find_and_replace_no_matches(temp_tree): |