mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
Test for non-custom prefix join name
This commit is contained in:
parent
7f97c31fc0
commit
0bdebed2c0
@ -867,6 +867,8 @@ class TestQgsVectorLayer(TestCase):
|
||||
|
||||
flds = layer.pendingFields()
|
||||
assert len(flds) == 6
|
||||
assert flds[2].name() == "joinlayer_x"
|
||||
assert flds[3].name() == "joinlayer_z"
|
||||
assert flds[4].name() == "custom-prefix_x"
|
||||
assert flds[5].name() == "custom-prefix_z"
|
||||
assert flds.fieldOrigin(0) == QgsFields.OriginProvider
|
||||
|
Loading…
x
Reference in New Issue
Block a user