Skip to content
Permalink
Browse files

Update config format in search widget test

  • Loading branch information
nyalldawson committed Jan 29, 2018
1 parent 234bc1a commit 070e137c3dbae4dc340f20c882a2a36dec0a887b
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgssearchwidgetwrapper.py
@@ -134,8 +134,8 @@ def testCreateExpression(self):
layer = QgsVectorLayer("Point?field=fldtxt:string&field=fldint:integer", "test", "memory")

w = QgsValueMapSearchWidgetWrapper(layer, 0)
config = {"val1": 1,
"val2": 200}
config = {"map": [{"val1": 1},
{"val2": 200}]}
w.setConfig(config)
c = w.widget()

0 comments on commit 070e137

Please sign in to comment.
You can’t perform that action at this time.