Skip to content

Commit

Permalink
Test for non-custom prefix join name
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jan 22, 2015
1 parent 7f97c31 commit 0bdebed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/test_qgsvectorlayer.py
Expand Up @@ -867,6 +867,8 @@ def test_join(self):

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
Expand Down

0 comments on commit 0bdebed

Please sign in to comment.