Pytest-qgis

Latest version: v2.0.0

Safety actively analyzes 623360 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.0.0

New Features

* [45](https://github.com/GispoCoding/pytest-qgis/pull/45) Clean map layers automatically.
* [48](https://github.com/GispoCoding/pytest-qgis/pull/48) Add possibility to raise errors if there are warnings or errors in attribute form when adding feature.

Fixes

* [45](https://github.com/GispoCoding/pytest-qgis/pull/45) Ensure that the projection is set when replacing layers with projected ones.

Maintenance tasks

* [51](https://github.com/GispoCoding/pytest-qgis/pull/51) Change linting to use Ruff.
* [50](https://github.com/GispoCoding/pytest-qgis/pull/50) Migrate to pyproject.toml and upgrade development dependencies.

API Breaks

* [47](https://github.com/GispoCoding/pytest-qgis/pull/48) Remove deprecated functionality:
* `new_project()` fixture
* `module_qgis_bot()` fixture
* `clean_qgis_layer()` function
* [46](https://github.com/GispoCoding/pytest-qgis/pull/46) Use session scope in qgis_bot fixture
* [48](https://github.com/GispoCoding/pytest-qgis/pull/48) The `create_feature_with_attribute_dialog()` function now, by default, raises a ValueError when a created feature violates enforced attribute constraints.

1.3.5

* [34](https://github.com/GispoCoding/pytest-qgis/pull/34) Use tempfile instead of protected TempPathFactory in QGIS config path creation
* [39](https://github.com/GispoCoding/pytest-qgis/pull/39) Improve code style and CI
* [40](https://github.com/GispoCoding/pytest-qgis/pull/40) Improve showing map
* [42](https://github.com/GispoCoding/pytest-qgis/pull/42) Suppress errors when deleting temp dir

1.3.4

* [34](https://github.com/GispoCoding/pytest-qgis/pull/34): Use tempfile instead of protected TempPathFactory in QGIS config path creation

1.3.3

* [29](https://github.com/GispoCoding/pytest-qgis/pull/29): Release map canvas properly

1.3.2

* [23](https://github.com/GispoCoding/pytest-qgis/pull/23): Support QToolBar as an arg in iface.addToolBar

1.3.1

* [21](https://github.com/GispoCoding/pytest-qgis/pull/21): Add a newProjectCreated signal to QgisInterface mock class

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.