Compare commits
2 Commits
22874c4c61
...
887f9a38e1
Author | SHA1 | Date |
---|---|---|
|
887f9a38e1 | |
|
0be84e07eb |
|
@ -68,10 +68,6 @@ def test_display_verbose(tmp_path):
|
||||||
assert stdout != "" or stderr != ""
|
assert stdout != "" or stderr != ""
|
||||||
|
|
||||||
|
|
||||||
# ... rest of code here ...
|
|
||||||
|
|
||||||
# ... rest of code here ...
|
|
||||||
|
|
||||||
def test_create_directory_from_file(tmp_path):
|
def test_create_directory_from_file(tmp_path):
|
||||||
# Define the desired directory structure in a string with proper indentation
|
# Define the desired directory structure in a string with proper indentation
|
||||||
structure_content = """data/
|
structure_content = """data/
|
||||||
|
@ -93,7 +89,7 @@ tests/
|
||||||
output_dir = tmp_path / 'output'
|
output_dir = tmp_path / 'output'
|
||||||
output_dir.mkdir()
|
output_dir.mkdir()
|
||||||
|
|
||||||
stdout, stderr = run_prodir(['create', "example.md" '-o'])
|
stdout, stderr = run_prodir(['create', "example.md"])
|
||||||
|
|
||||||
# Print the stdout and stderr for debugging
|
# Print the stdout and stderr for debugging
|
||||||
print("stdout:", stdout)
|
print("stdout:", stdout)
|
||||||
|
|
Loading…
Reference in New Issue