25 Commits

Author SHA1 Message Date
Even Rouault
07067d37b5 python/plugins: turn on GDAL exceptions to avoid deprecation warning
Fixes #57344
2024-05-22 13:34:35 +10:00
Nyall Dawson
c434eb8585 Update test for newer GRASS 2024-05-01 13:45:55 +10:00
Nyall Dawson
20d5b34cd3 Rename test_definition_file to definition_file
Otherwise unittest thinks the function is a test itself and runs it
accordingly, and then raises a deprecation warning because
return values are not permitted from test functions
2024-02-12 16:44:06 +10:00
Nyall Dawson
d2cbdb1274 Add some more grass raster hashes for more recent GRASS versions 2024-02-06 18:31:48 +10:00
Nyall Dawson
ea3a86508e Rename more references to grass7 to version-less "grass" 2024-02-06 18:31:48 +10:00
Nyall Dawson
0ab66b7b6f Rename grass provider files and classes to remove hardcoded version
number
2024-02-06 18:31:48 +10:00
Nyall Dawson
c16a1e2b3d Update enums 2024-01-19 19:44:48 +10:00
Jean Felder
e0466ab5eb plugins/tests: Port to QgisUnitTests
`unittest.TestCase` is deprecated.
2023-12-12 05:27:30 +10:00
Nyall Dawson
13bc09e706 Remove redundant "import qgis" lines from python files
These were only needed way back in the early days of qgis 3.0
transition, now they have no effect
2023-11-25 07:40:02 +10:00
Etienne Trimaille
8f33d5ee70 Upgrade DBManager and Grass plugins to Python 3.X 2023-04-26 08:24:00 +10:00
Nyall Dawson
30598b9ad9 Pass QgsProcessingContext on to all processing functions which
generate temporary file names
2023-03-21 03:50:08 +10:00
Nyall Dawson
894a938fff [processing] Drop unmainted saga provider from QGIS install
This provider has not been maintained and does not work with
newer SAGA versions. Users are encouraged to use the 3rd-party
"Processing Saga NextGen" plugin instead.
2022-11-10 17:25:06 +10:00
Nyall Dawson
f361ad2df8 Get some more processing tests passing on newer grass 2022-08-08 17:50:06 +10:00
Sandro Santilli
8c18fa28b6 Drop gpkg_metadata_reference_column_name_update trigger generated by GDAL < 2.4.0
Presence of this trigger results in QGIS dropping it whenever the file
is opened in read-write mode (as it happens with vector layer is
created from it)

See https://github.com/qgis/QGIS/issues/48937#issuecomment-1152726973
2022-06-11 01:35:14 +02:00
Nyall Dawson
65287ee4f7 In saga/grass/otb processing plugin tests, only load the provider
being tested instead of every provider
2022-02-01 18:14:48 +10:00
Loïc Bartoletti
548d59b365
Merge pull request #45194 from nicogodet/fix-vrectify
Fix v.rectify
2021-10-13 08:41:00 +02:00
nicogodet
263b6a5689 Add test on inline_points parameter 2021-09-28 14:28:54 +02:00
nicogodet
393608ced0 Add test 2021-09-24 17:44:20 +02:00
Alexander Bruy
1e2bb8e053 fix tests 2021-09-24 08:24:31 +10:00
BergWerkGIS
82b2f2745c add tests 2021-09-24 08:24:31 +10:00
BergWerkGIS
fd3143ce23 add expected fixtures 2021-09-24 08:24:31 +10:00
BergWerkGIS
6c45715345 add cost columns to test network 2021-09-24 08:24:31 +10:00
Alexander Bruy
3a082f5738 tests for r.path algorithms 2021-09-08 07:26:15 +10:00
Nyall Dawson
bcf964aac5 [processing] Fix evaluation of empty file names for file parameters
in test suite
2021-08-02 12:17:59 +10:00
Alexander Bruy
a0945cfdfe tests for GRASS provider 2021-06-21 07:17:36 +03:00