Skip to content

Commit 784ba1c

Browse files
committed
autotest gdalenhance: use -quiet
1 parent a4ea665 commit 784ba1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autotest/utilities/test_gdalenhance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def gdalenhance_path():
3636
def test_gdalenhance_output_histogram(gdalenhance_path, tmp_path):
3737

3838
out, err = gdaltest.runexternal_out_and_err(
39-
f"{gdalenhance_path} -equalize ../gcore/data/rgbsmall.tif"
39+
f"{gdalenhance_path} -quiet -equalize ../gcore/data/rgbsmall.tif"
4040
)
4141

4242
assert not err
@@ -58,7 +58,7 @@ def test_gdalenhance_output_histogram(gdalenhance_path, tmp_path):
5858
enhanced_fname = tmp_path / "out.tif"
5959

6060
out, err = gdaltest.runexternal_out_and_err(
61-
f"{gdalenhance_path} -config {lut_fname} ../gcore/data/rgbsmall.tif {enhanced_fname}"
61+
f"{gdalenhance_path} -quiet -config {lut_fname} ../gcore/data/rgbsmall.tif {enhanced_fname}"
6262
)
6363

6464
assert not err
@@ -100,7 +100,7 @@ def test_gdalenhance_invalid_usage(gdalenhance_path, tmp_path):
100100
outfile = tmp_path / "out.tif"
101101

102102
out, err = gdaltest.runexternal_out_and_err(
103-
f"{gdalenhance_path} {infile} {outfile}"
103+
f"{gdalenhance_path} -quiet {infile} {outfile}"
104104
)
105105

106106
assert "ret code = 1" in err

0 commit comments

Comments
 (0)