in tools/url-checker/create_test_files.py [0:0]
def create_files():
"""Create the test files with links."""
print(f"Creating test files in {TEST_ROOT}...")
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
# Create base directory structure
generate_random_directory_structure(TEST_ROOT, max_depth=COMPLEXITY+1)
# Create a README.md in the test root
with open(os.path.join(TEST_ROOT, "README.md"), 'w') as f:
f.write(f"""# URL Checker Test Files