Skip to content

Commit

Permalink
Update config format in search widget test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 29, 2018
1 parent 234bc1a commit 070e137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgssearchwidgetwrapper.py
Expand Up @@ -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()

Expand Down

0 comments on commit 070e137

Please sign in to comment.