Skip to content
Permalink
Browse files

Fix new geopackage layer test

  • Loading branch information
nirvn committed Dec 7, 2017
1 parent 7e0c149 commit 1305cccbd92930c082c0f996d7b169ae8e617ea3
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsnewgeopackagelayerdialog.py
@@ -21,7 +21,7 @@
from qgis.PyQt.QtTest import QTest

from qgis.core import QgsProject, QgsSettings, QgsWkbTypes
from qgis.gui import QgsNewGeoPackageLayerDialog
from qgis.gui import QgsNewGeoPackageLayerDialog, QgsFileWidget
from qgis.testing import start_app, unittest


@@ -63,7 +63,7 @@ def test(self):
dialog = QgsNewGeoPackageLayerDialog()
dialog.setProperty("hideDialogs", True)

mDatabase = dialog.findChild(QLineEdit, "mDatabase")
mDatabase = dialog.findChild(QgsFileWidget, "mDatabase")
buttonBox = dialog.findChild(QDialogButtonBox, "buttonBox")
ok_button = buttonBox.button(QDialogButtonBox.Ok)
mTableNameEdit = dialog.findChild(QLineEdit, "mTableNameEdit")

0 comments on commit 1305ccc

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