-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable options and visual map #5
Conversation
785ab9d
to
fe9f2ca
Compare
Maybe not related to this PR but when trying to run tests I got an ImportError from pytest that |
Could you wrap the usage of db.gpkg to a fixture that creates a copy of it before passing it to tests. Now when running tests and accessing the geopackage it gets modified and git wants therefore add changes to the index. |
fe9f2ca
to
e2dd2aa
Compare
@LKajan maybe we should leave the pip-tools part of the pre-commit out of CI? |
Yes, it looks to be better so. Now generated dependencies are so different on different platforms. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not so sure I followed everything here but I think it is ok to merge.
I'm a bit concerned that the map part of the code got so complex and there might be bugs and issues in that code and therefore the maps are not what those are supposed to be.
I would be also ok if those maps would be just saved on a disk after the test and not popped up as a dialog.
This PR:
qgis_qui_enabled
to enable or disable GUI using QT_QPA_PLATFORM environment variableqgis_disable_gui
command line option can be used to overrideqgis_canvas_width
andqgis_canvas_height
qgis_disable_init
command line option to prevent QGIS application from initializing (this is used mainly to maketest_ini_*
tests work.qgis_show_map
to enable visual inspections of the QGIS map with all the datasets. This currently has few "bugs":clean_qgis_layer
which can be used withQgsMapLayer
fixtures to ensure that they are cleaned properly if they are used but not added to theQgsProject
. This is only needed with layers with other than memory provider.qgis_version
to show current QGIS version as integer (eq. 3.10 == 31000).