Skip to content

Commit

Permalink
TST: save test output files to tmp directory (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgebhart authored Mar 27, 2023
1 parent 69d5247 commit 0e1cf42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ a feeling of how the output STL will look like:
```
dem2stl --demo
```
If you have your tiff file ready, you may run something like
If you have your tiff file at hand, you may run something like
```
dem2stl --input your_file.tiff --output output.stl --model-size 200 --z-offset 3.0 --z-scale 1.5
```
Expand Down
3 changes: 2 additions & 1 deletion tests/test_mapa.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ def test_mapa__index_error(output_file) -> None:
@pytest.mark.parametrize("compress", (False, True))
def test_mapa__split_area_into_tiles__success(hawaii_bbox, tmp_path, compress) -> None:
size = 100
output_path = Path(tmp_path, "foo")
output = convert_bbox_to_stl(
bbox_geometry=hawaii_bbox,
output_file="foo",
output_file=output_path,
split_area_in_tiles="2x2",
model_size=size,
cut_to_format_ratio=1.0,
Expand Down

0 comments on commit 0e1cf42

Please sign in to comment.